Added statsChannel OwnerID and support server invite link in config file

This commit is contained in:
Loic Bersier 2018-09-18 13:52:20 +02:00
parent 64a27ca122
commit 8a847f7635
2 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,8 @@
{ {
"token": "Your token", "token": "Your token",
"prefix": "your prefix", "prefix": "your prefix",
"ownerID": "Your id",
"botID": "ID of the bot", "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"
} }

View file

@ -1,14 +1,14 @@
const { CommandoClient } = require('discord.js-commando'); const { CommandoClient } = require('discord.js-commando');
const path = require('path'); 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 responseObject = require("./reply.json");
const fs = require("fs"); const fs = require("fs");
// Prefix and ownerID and invite to support server // Prefix and ownerID and invite to support server
const client = new CommandoClient({ const client = new CommandoClient({
commandPrefix: `${prefix}`, commandPrefix: prefix,
owner: '267065637183029248', owner: ownerID,
invite: 'https://discord.gg/SsMCsVY', invite: supportServer,
unknownCommandResponse: false, unknownCommandResponse: false,
disableEveryone: true, disableEveryone: true,
}); });