An unofficial bot framework for Discord, written in JavaScript.
An easy setup for a Discord bot. It currently has basic moderation commands, some fun commands, and total customization of the name, prefix, status, and more.
The setup is quite simple. Run one simple command:
npm install --save krystalkore
This will save the module KrystalKore to your package.json, plus install the required dependencies.
This is the basic explantion of how to get the bot running and the different parts of the bot itself.
const krystalkore = require("krystalkore")
var krystal = new krystalkore("bot token",
{"name": "bot name",
"status": "bot status",
"prefix": "custom prefix",
"role": "role"});
krystal.connect();
Options available to edit | Documentation for the option |
---|---|
bot token | Self explanitory. Insert your bot token here. |
name | The name of your bot. Used for the help command and other things. Leaving it blank defaults to "Krystal". |
status | Custom status that you would like the bot to display. Leaving it blank defaults to "keepo". |
prefix | The custom prefix that you would like to use. Leaving it blank defaults to "-". |
role | The name of the role that has admin permissions (ex. User must have this role to kick and ban). Leaving it blank defaults to "Admin". |