Skip to content

Commit

Permalink
(fix): typo preventing setmute from working (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
BearTS authored Jan 5, 2021
1 parent 3506dff commit 041fe8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/setup/setmute.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
};
} else {
role = message.guild.roles.cache.get((role.match(/\d{17,19}/)||[])[0]) ||
messge.guild.roles.cache.find(r => r.name === role);
message.guild.roles.cache.find(r => r.name === role);

if (!role){
return message.channel.send(`\\❌ **${message.author}**, Invalid Role - Please supply the mention of the role, the ID of the role, or its Role Name.`)
Expand Down

0 comments on commit 041fe8a

Please sign in to comment.