mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 12:13:06 +00:00
[MIRROR] Hotfix for species whitelist command (#12046)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e8ba2765ac
commit
683448fd50
@@ -455,7 +455,7 @@ GLOBAL_LIST_EMPTY(pending_discord_registrations)
|
|||||||
message.text = "Error, job \"[role]\" is not a whitelist job."
|
message.text = "Error, job \"[role]\" is not a whitelist job."
|
||||||
return message
|
return message
|
||||||
if(kind == "species")
|
if(kind == "species")
|
||||||
if(role in GLOB.playable_species)
|
if(!(role in GLOB.playable_species))
|
||||||
message.text = "Error, invalid species entered. Check spelling and capitalization."
|
message.text = "Error, invalid species entered. Check spelling and capitalization."
|
||||||
return message
|
return message
|
||||||
if(!(role in GLOB.whitelisted_species))
|
if(!(role in GLOB.whitelisted_species))
|
||||||
|
|||||||
Reference in New Issue
Block a user