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
|
||||
# Ex: 123,456,789
|
||||
SLASH_TEST_GUILDS: List[int] = list(
|
||||
map(lambda x: int(x),
|
||||
os.getenv("SLASHTESTGUILDS", "").replace(" ", "").split(",")
|
||||
)
|
||||
)
|
||||
_guilds = os.getenv("SLASHTESTGUILDS", "").replace(" ", "")
|
||||
SLASH_TEST_GUILDS: List[int] = list(map(lambda x: int(x), _guilds.split(","))) if _guilds else []
|
||||
|
|
Loading…
Reference in New Issue