|
|
---|
Installation
Node.js 8.0.0 or newer is required
Yarn
Recommended, auto assembly
yarn add @castery/caster-discord
NPM
npm install @castery/caster-discord --save
Usage
import { DiscordPlatform } from '@castery/caster-discord';
/* ... */
const discord = new DiscordPlatform({
adapter: {
token: '<token>'
}
});
caster.use(discord);