slimcord.js
A simple Discord Bot framework. Used for HaroBot and Lordgenome Discord Bots.
Example
This will only start the bot with no modules.
const Core = ; let bot = {}; bot;
Example Module
{ thiscore = core; thisoptions = options; } { return name: 'My Module' desc: 'Hello, world.' author: 'Me' ver: '0.1.0' url: 'https://example.com' provides: 'mymodule/mything' ; } async { thiscore; } { thiscore; } { delete thiscorecommands'hello'; }
Adding the example module
Before your bot.boot()
line, add this:
bot;