mirror of https://github.com/stijndcl/didier
Default test guilds to None instead of empty list
parent
1c82bf959b
commit
ad1175f6cd
|
@ -37,4 +37,4 @@ STATUS_MESSAGE = os.getenv("STATUSMESSAGE", "with your Didier Dinks.")
|
||||||
# Guilds to test slash commands in
|
# Guilds to test slash commands in
|
||||||
# Ex: 123,456,789
|
# Ex: 123,456,789
|
||||||
_guilds = os.getenv("SLASHTESTGUILDS", "").replace(" ", "")
|
_guilds = os.getenv("SLASHTESTGUILDS", "").replace(" ", "")
|
||||||
SLASH_TEST_GUILDS: List[int] = list(map(lambda x: int(x), _guilds.split(","))) if _guilds else []
|
SLASH_TEST_GUILDS: List[int] = list(map(lambda x: int(x), _guilds.split(","))) if _guilds else None
|
||||||
|
|
Loading…
Reference in New Issue