mirror of https://github.com/stijndcl/didier
Fix test guild parsing for empty strings
parent
5e946ed5d3
commit
1c82bf959b
|
@ -36,8 +36,5 @@ 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
|
||||||
SLASH_TEST_GUILDS: List[int] = list(
|
_guilds = os.getenv("SLASHTESTGUILDS", "").replace(" ", "")
|
||||||
map(lambda x: int(x),
|
SLASH_TEST_GUILDS: List[int] = list(map(lambda x: int(x), _guilds.split(","))) if _guilds else []
|
||||||
os.getenv("SLASHTESTGUILDS", "").replace(" ", "").split(",")
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in New Issue