mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-09-04 21:05:11 +00:00
Moved comment
This commit is contained in:
parent
ba0af0d3e9
commit
82472a8870
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ exports.addrole = {
|
|||
msg.member.addRole(newrole).then(msg.channel.send(msg.member + ' has been added to the ' + suffix + ' role!'));
|
||||
if (rolelist.baserole !== ' ') {
|
||||
if (baserole !== null) {
|
||||
// Checks if Member has the baserole, and also checks if they just added the baserole
|
||||
// Checks if Member has the baserole, and also checks if they just added the baserole
|
||||
if (!msg.member.roles.find('name', rolelist.baserole) && suffix !== rolelist.baserole) {
|
||||
msg.member.addRole(baserole).then(msg.channel.send(msg.member + ' has been added to the ' + rolelist.baserole + ' role!'));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue