mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-09-03 20:35:12 +00:00
Corrected syntax
This commit is contained in:
parent
f6b92bd28a
commit
67be623b3f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ exports.addrole = {
|
|||
if (suffix) {
|
||||
//suffix = suffix.toLowerCase();
|
||||
// Checks if the role mentioned in the message is in the allowed roles listed in the wunderbot config.
|
||||
if (rolelist.allowedroles.includes(suffix) || (baserole == suffix) {
|
||||
if (rolelist.allowedroles.includes(suffix) || baserole == suffix) {
|
||||
// Checks if the role even exists in the discord server
|
||||
if (newrole !== null) {
|
||||
// Checks if the member has the role that they are trying to add
|
||||
|
|
Loading…
Add table
Reference in a new issue