Make !frole not cause duplicate entries in the list of cursed villagers
This commit is contained in:
parent
e0ebc4bd40
commit
a5b6c363d6
@ -2914,6 +2914,7 @@ if botconfig.DEBUG_MODE or botconfig.ALLOWED_NORMAL_MODE_COMMANDS:
|
||||
if who not in pl:
|
||||
var.ROLES["villager"].append(who)
|
||||
elif rol == "cursed villager":
|
||||
if who not in var.CURSED:
|
||||
var.CURSED.append(who)
|
||||
if who not in pl:
|
||||
var.ROLES["villager"].append(who)
|
||||
|
Loading…
x
Reference in New Issue
Block a user