From 81d4c2c426372080c6d6c409151062c08b3cdd29 Mon Sep 17 00:00:00 2001 From: Murat <59137982+theMuwat@users.noreply.github.com> Date: Sat, 16 Dec 2023 01:27:36 +0300 Subject: [PATCH] Update README.md --- README.md | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 76bcf75..e0086a3 100644 --- a/README.md +++ b/README.md @@ -1 +1,38 @@ -# eris-discordbot-template \ No newline at end of file +# Eris Discord Bot Template + +A free bot template coded using Eris libary. + +## How to use + +1. Go to the [Discord Developer Portal Applications](https://discord.com/developers/applications) and create "New Application". + +2. Go to the Bot section and generate a token. + +3. Copy that token and paste to the 'config.json' file. + + (You can change your prefix too) + +4. Open a terminal at bot files directory and run + + ```bash + node . + ``` + + + +### How to make new commands + +In '/commands' there is a 'example.js' command file. + +```js +exports.run = (client, message, args) => { + // CODE HERE +} + +exports.info = { + name: "example", //commands name + enabled: true //is this command enabled (true or false) +} +``` + +