FocaBotCore
A Discord bot framework built on top of Discordie to make bot development easier.
npm install --save focabot-core
Currently, it provides:
- A command system with built-in prefix and role checking.
- A module system with hot-reloading.
- Basic permission system.
- Built-in audio player (requires FFMPEG).
Example
This is a simple, single-file bot made using FocaBotCore:
const FocaBotCore = ; const myBot = prefix: '-' token: '[Insert token here]'; // The classic "ping" commandmyBotcommands; // Makes the bot repeat somethingmyBotcommands; // Connect to discordmyBot;
For a more complex example, check out the example directory.
Bots Using FocaBotCore
- FocaBot (source code)
- MIDIBot
- SelfBot-Base (source only)
If you want to add your bot to the list, feel free to make a PR or contact me on Discord (TheBITLINK#3141).