@exoplay/exobot-adapter-discord

exobot adapter for discord

Stats

StarsIssuesVersionUpdatedCreatedSize
@exoplay/exobot-adapter-discord
003.1.15 years ago5 years agoMinified + gzip package size for @exoplay/exobot-adapter-discord in KB

Readme

exobot-adapter-discord

Installation

  • npm install --save @exoplay/exobot/exobot-adapter-slack

A Setup Example

import Exobot from '@exoplay/exobot';
import Discord from '@exoplay/exobot-adapter-discord';

const Bot = new Exobot(BOT_NAME, {
  // ...,
  adapters: [
    new Discord({
      username: process.env.DISCORD_BOT_USERNAME,
      token: process.env.DISCORD_BOT_TOKEN,
      botId: process.env.DISCORD_BOT_ID
    })
  ],
});

Setup Notes

Visit https://discordapp.com/developers/docs/topics/oauth2 to learn more about setting up a bot user. In particular, make sure to visit the url under the "Adding Bots to Guilds" section (substituting in your own bot id) to connect the bot to your Discord server.

License

LGPL licensed. Copyright 2016 Exoplay, LLC. See LICENSE file for more details.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.