From ad1175f6cd8c94e10b4ee0a5ceb5858474bcc119 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Sun, 5 Sep 2021 16:25:15 +0200 Subject: [PATCH] Default test guilds to None instead of empty list --- settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.py b/settings.py index a170086..c7d212b 100644 --- a/settings.py +++ b/settings.py @@ -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