From 8a847f7635bbd21a701cc872d40d0d9db4ed7f96 Mon Sep 17 00:00:00 2001
From: Loic Bersier <loic.bersier1@gmail.com>
Date: Tue, 18 Sep 2018 13:52:20 +0200
Subject: [PATCH] Added statsChannel OwnerID and support server invite link in
 config file

---
 config-exemple.json | 4 +++-
 index.js            | 8 ++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/config-exemple.json b/config-exemple.json
index 4307f80d..42613ee8 100644
--- a/config-exemple.json
+++ b/config-exemple.json
@@ -1,6 +1,8 @@
 {
     "token":    "Your token",
     "prefix":   "your prefix",
+    "ownerID":  "Your id",
     "botID":    "ID of the bot",
-    "statsChannel": "ID of the channel that the bot are going to post its stats"
+    "statsChannel": "ID of the channel that the bot are going to post its stats",
+    "supportServer": "Invite link for the support server of the bot"
 }
\ No newline at end of file
diff --git a/index.js b/index.js
index 365fe82a..80097342 100644
--- a/index.js
+++ b/index.js
@@ -1,14 +1,14 @@
 const { CommandoClient } = require('discord.js-commando');
 const path = require('path');
-const { token, prefix, botID, statsChannel } = require('./config.json');
+const { token, prefix, botID, statsChannel, ownerID, supportServer } = require('./config.json');
 const responseObject = require("./reply.json");
 const fs = require("fs");
 
 //  Prefix and ownerID and invite to support server
 const client = new CommandoClient({
-    commandPrefix: `${prefix}`,
-    owner: '267065637183029248',
-    invite: 'https://discord.gg/SsMCsVY',
+    commandPrefix: prefix,
+    owner: ownerID,
+    invite: supportServer,
     unknownCommandResponse: false,
     disableEveryone: true,
 });