No Sharding

This commit is contained in:
Daniel Odendahl Jr
2017-04-27 11:18:06 +00:00
parent 6fda27485c
commit c81d41d61f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -23,6 +23,6 @@ module.exports = class MemberLogCommand extends Command {
run(message, args) { run(message, args) {
const { channel } = args; const { channel } = args;
message.guild.settings.set('memberLog', channel.name); message.guild.settings.set('memberLog', channel.name);
return message.say('Member Log channel set to `channel.name`.'); return message.say(`Member Log channel set to ${channel.name}.`);
} }
}; };
+1 -1
View File
@@ -23,6 +23,6 @@ module.exports = class ModChannelCommand extends Command {
run(message, args) { run(message, args) {
const { channel } = args; const { channel } = args;
message.guild.settings.set('modLog', channel.name); message.guild.settings.set('modLog', channel.name);
return message.say('Mod Log channel set to `channel.name`.'); return message.say(`Mod Log channel set to ${channel.name}.`);
} }
}; };
+1 -1
View File
@@ -2,6 +2,6 @@ const { ShardingManager } = require('discord.js');
const Manager = new ShardingManager('./index.js', { const Manager = new ShardingManager('./index.js', {
token: process.env.TOKEN token: process.env.TOKEN
}); });
Manager.spawn(); Manager.spawn(1);
process.on('unhandledRejection', console.error); process.on('unhandledRejection', console.error);