From a586ae24445d37e34f65685c49bb6448b4eb8f82 Mon Sep 17 00:00:00 2001 From: Graydon Date: Mon, 18 Jun 2018 13:25:45 -0500 Subject: [PATCH] Typo fixes and text improvements --- bot/modules/rolesetter.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bot/modules/rolesetter.js b/bot/modules/rolesetter.js index 803785a..e170757 100644 --- a/bot/modules/rolesetter.js +++ b/bot/modules/rolesetter.js @@ -40,7 +40,7 @@ exports.addrole = { msg.channel.send('The role ' + '`' + suffix + '`' + ' does not exist!'); } } else { - msg.channel.send("That role isn't one you can add yourself too! Please run the " + botconfig.prefix + 'roles command to find out which ones are allowed.'); + msg.channel.send("That role isn't one you can add yourself to! Please run the " + botconfig.prefix + 'roles command to find out which ones are allowed.'); } } else { msg.channel.send('Please specify a role. Type ' + botconfig.prefix + 'roles to see which you may add!'); @@ -49,15 +49,15 @@ exports.addrole = { }; exports.delrole = { usage: '', - description: 'Deletes your role specified', + description: 'Deletes the specified role from your account', process: function(bot, msg, suffix) { - // Here the bot,msg and suffix is avaible, this function can be async if needed. + // Here in the bot, msg and suffix are available, this function can be async if needed. let oldrole = msg.guild.roles.find('name', suffix); // Checks if the user put a role in the message. if (suffix) { - // Checks if the role mentioned in the message is in the allowed roles listed in the wunderbot config. + // Checks if the role mentioned in the message is in the allowed roles listed in the Wunderbot config. if (rolelist.allowedroles.includes(suffix)) { - // Checks if the role even exists in the discord server + // Checks if the role exists in the Discord server if (oldrole !== null) { // Checks if the member has the role that they are trying to add if (msg.member.roles.find('name', suffix)) { @@ -69,7 +69,7 @@ exports.delrole = { msg.channel.send('The role ' + '`' + suffix + '`' + ' does not exist!'); } } else { - msg.channel.send("That role isn't one you can add yourself too! Please run the " + botconfig.prefix + 'roles command to find out which ones are allowed.'); + msg.channel.send("That role isn't one you can add yourself to! Please run the " + botconfig.prefix + 'roles command to find out which ones are allowed.'); } } else { msg.channel.send('Please specify a role. Type ' + botconfig.prefix + 'roles to see which you may add!'); @@ -80,7 +80,7 @@ exports.roles = { usage: '', description: 'displays roles you can give yourself', process: function(bot, msg, suffix) { - // Here the bot,msg and suffix is avaible, this function can be async if needed. + // Here in the bot, msg and suffix are available, this function can be async if needed. msg.channel.send({ embed: { color: 3447003,