Default test guilds to None instead of empty list

pull/91/head
Stijn De Clercq 2021-09-05 16:25:15 +02:00
parent 1c82bf959b
commit ad1175f6cd
1 changed files with 1 additions and 1 deletions

View File

@ -37,4 +37,4 @@ STATUS_MESSAGE = os.getenv("STATUSMESSAGE", "with your Didier Dinks.")
# Guilds to test slash commands in
# Ex: 123,456,789
_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