The events object is a read-only hash of string values. It is provided to simplify plugin development, as some of the event names exposed by discord.js are quite creative. This will also allow Themis to provide support custom events originating outside of Discord at a future time.
This data-structure is exposed on the Themis API object, available via importing src/api.js into your script.
const api = require('src/api');
api.events // right hereIf developing a plugin, api is available via
require('../api')
DISCONNECTED Discord.js
string - the bot was disconnected from Discord for some reason
ERROR Discord.js
string - the bot has encountered an error
JOIN_SERVER Discord.js
string - the bot has joined a server
READY Discord.js
string - the bot is connected and ready to service requests
RECONNECTED Discord.js
string - the bot has reconnected to discord