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
@@ -12,8 +12,8 @@ module.exports = class WebhookCommand extends commando.Command {
],
group: 'textedit',
memberName: 'webhook',
description: "Posts a message to the webhook defined in config. (;webhook Hey guys!)",
examples: [";webhook Hey guys!"],
description: 'Posts a message to the webhook defined in config. (;webhook Hey guys!)',
examples: [';webhook Hey guys!'],
guildOnly: true,
args: [{
key: 'text',
@@ -39,7 +39,7 @@ module.exports = class WebhookCommand extends commando.Command {
.send({
content: content
});
return;
return null;
}
catch (err) {
return message.say(':x: Error! Message failed to send!');