String Changes, Don't register tons of defaults

This commit is contained in:
Daniel Odendahl Jr
2017-04-05 17:27:31 +00:00
parent f380a3ecbd
commit 332016ca5d
75 changed files with 225 additions and 265 deletions
+3 -3
View File
@@ -10,8 +10,8 @@ module.exports = class SendDMCommand extends commando.Command {
],
group: 'util',
memberName: 'senddm',
description: "Sends a DM to a user ID.",
examples: [";senddm 278305350804045834 This is a DM."],
description: 'Sends a DM to a user ID.',
examples: [';senddm 278305350804045834 This is a DM.'],
args: [{
key: 'userid',
prompt: 'What is the User ID of the user you wish to contact?',
@@ -20,7 +20,7 @@ module.exports = class SendDMCommand extends commando.Command {
if (userID.length === 18) {
return true;
}
return "Invalid ID.";
return 'Invalid ID.';
}
}, {
key: 'content',
+4 -4
View File
@@ -9,8 +9,8 @@ module.exports = class ServersCommand extends commando.Command {
],
group: 'util',
memberName: 'servers',
description: "Sends a list of all server names and IDs to the log.",
examples: [";servers"]
description: 'Sends a list of all server names and IDs to the log.',
examples: [';servers']
});
}
hasPermission(msg) {
@@ -23,8 +23,8 @@ module.exports = class ServersCommand extends commando.Command {
}
console.log(`[Command] ${message.content}`);
const guildCount = this.client.guilds.size;
const guildNames = this.client.guilds.map(g => `${g.name} (${g.id})`).join(", ");
const guildNames = this.client.guilds.map(g => `${g.name} (${g.id})`).join(', ');
console.log(`${guildCount} Servers: ${guildNames}`);
return message.say("Sent the information to the console!");
return message.say('Sent the information to the console!');
}
};