Prefix Change and General Code Improvements

This commit is contained in:
Daniel Odendahl Jr
2017-04-17 15:33:20 +00:00
parent 75ad7fecaa
commit fd221e6f56
20 changed files with 29 additions and 30 deletions
+2 -3
View File
@@ -2,8 +2,7 @@ const commando = require('discord.js-commando');
const snekfetch = require('snekfetch');
const path = require('path');
const client = new commando.Client({
commandPrefix: ';',
unknownCommandResponse: false,
commandPrefix: 'x;',
owner: process.env.OWNER_ID,
disableEveryone: true
});
@@ -108,7 +107,7 @@ client.setTimeout(() => {
client.on('ready', () => {
console.log(`[Ready] Shard ${client.shard.id} Logged in!`);
client.user.setGame(`;help | Shard ${client.shard.id}`);
client.user.setGame(`x;help | Shard ${client.shard.id}`);
});
process.on('unhandledRejection', console.error);