This project is a base library to enable discord microservices using the Smalltalk Conversational Protocol
npm install eris-boreas
import { ErisClient } from 'eris-boreas';
import { Client } from 'discord.js';
class MyClient extends ErisClient {
get name() {
return 'MyClient';
}
}
const discordClient = new Client();
const erisClient = new MyClient(discordClient);
erisClient.bot.login('my secret discord bot token');
For instructions on acquiring a token, see the discord.js documentation.