Command, slash command & event handler by Mélioᴼᶠᶠ - Bot Discord (v13.X.X)
Moreover, the command and slash commands handlers contain a permissions checker and a cooldown checker ;
For better referencing, please add a star on the repository
The configuration file named config.js have to content the token of your discord bot, its prefix and the IDs of all other owners (or just yours).
module.exports = {
token: 'THE_BOT_TOKEN',
botID: 'THE_BOT_ID',
prefix: 'THE_BOT_PREFIX',
owner: [ "YOUR_DISCORD_ID" ],
};
ᅠᅠ
Installation
npm install
Register slash commands
node slash.js
Start the bot
node index.js
For any errors found, please contact me here for exemple or do a pull request.
This repository is licensed under the MIT License. See the LICENSE
file (here) for more information.
ᅠᅠ