717 B
717 B
Eris Discord Bot Template
A free bot template coded using Eris libary.
How to use
-
Go to the Discord Developer Portal Applications and create "New Application".
-
Go to the Bot section and generate a token.
-
Copy that token and paste to the 'config.json' file.
(You can change your prefix too)
-
Open a terminal at bot files directory and run
node .
How to make new commands
In '/commands/' there is a 'example.js' command file.
exports.run = (client, message, args) => {
// CODE HERE
}
exports.info = {
name: "example", //commands name
enabled: true //is this command enabled (true or false)
}