From 05532750d006e3c8780ae93003712b3d46ca1981 Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Wed, 15 May 2019 16:03:51 +0200 Subject: [PATCH] Rename config.json to config.sample.json --- .gitignore | 3 ++- README.md | 4 +++- config.json => config.sample.json | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) rename config.json => config.sample.json (89%) diff --git a/.gitignore b/.gitignore index a56a7ef..b94de78 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules - +config.json +json.sqlite \ No newline at end of file diff --git a/README.md b/README.md index 1b9108b..93c9799 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,13 @@ This bot contains the following commands : ## Setup -You need to edit the config.json file before starting the bot. +You need to rename the `config.sample.json` file to `config.json` and edit it before starting the bot. ```Json { "token":"your discord bot secret token", "prefix":"!", + "game":"made by Androz", "embed":{ "color":"#ff5b5b", "footer":"By Androz#2091" @@ -39,6 +40,7 @@ You need to edit the config.json file before starting the bot. In the token field, replace `your discord bot secret token` by your bot token. In the prefix field, put your bot prefix (the character(s) before the command). For example, if the prefix is `$`, the command profile should be called with `$profile` . +The game is the status of your bot, for example "Androz" will show "playing to Androz". The embed object contains two values : `color` and `footer`. In the color field, put an hexadecimal color, this will be used for the color to the left of the embeds. In the footer field, put what you want, it will appear at the bottom of the embeds, maybe the name of your bot? diff --git a/config.json b/config.sample.json similarity index 89% rename from config.json rename to config.sample.json index 470d973..587f6cb 100644 --- a/config.json +++ b/config.sample.json @@ -1,6 +1,7 @@ { "token":"your discord bot secret token", "prefix":"!", + "game":"made by Androz", "embed":{ "color":"#ff5b5b", "footer":"By Androz#2091 | Open Source DiscordBot"