Socket
Socket
Sign inDemoInstall

@puyodead1/discord.js-redis

Package Overview
Dependencies
107
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @puyodead1/discord.js-redis

Connects Discord.js with Redis.


Version published
Maintainers
1
Created

Readme

Source

discord.js-redis

Build Status

Integrates Discord.js caching with Redis. Stores users, guilds, channels, messages, and emojis in a hash set of IDs (keys are the plural of the type: e.g. users, messages, etc.). You can subscribe to channels named [type]Set and [type]Delete which will contain a payload of the resource ID.

Example

const discord = require('discord.js');
const redis = require('discord.js-redis')({
  host: '1.3.3.7' // these options can be found on redis.js.org
});

const client = new discord.Client();
redis(client);

client.login('token');

FAQs

Last updated on 26 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc