@team-choco/discord-platform
v0.2.0
Published
Connect your bot to Discord!
Downloads
4
Readme
NOTE: THIS LIBRARY IS CURRENTLY UNDER HEAVY DEVELOPMENT, USE AT YOUR OWN RISK
@team-choco/discord-platform
Connect your bot to Discord!
Install
$ npm install -S @team-choco/discord-platform
Usage
// ...
import { ChocoBotCore } from '@team-choco/core';
import { ChocoDiscordPlatform } from '@team-choco/discord-platform';
const bot = new ChocoBotCore({
platform: new ChocoDiscordPlatform({
token: '<your-discord-token>',
}),
// ...
});
bot.on('ready', () => {
console.log('Kweh! Choco Bot is now up and running!');
});