diff --git a/bot/modules/rolesetter.js b/bot/modules/rolesetter.js index 9bc7170..4f6d141 100644 --- a/bot/modules/rolesetter.js +++ b/bot/modules/rolesetter.js @@ -13,8 +13,8 @@ exports.addrole = { description: 'Adds you to specified role', process: function(bot, msg, suffix) { // Here the bot,msg and suffix is avaible, this function can be async if needed. - var newrole = msg.guild.roles.find('name', suffix); - var baserole = msg.guild.roles.find('name', rolelist.baserole); + let newrole = msg.guild.roles.find('name', suffix); + let baserole = msg.guild.roles.find('name', rolelist.baserole); // Checks if the user put a role in the message. if (suffix) {