Merge pull request #143 from ThomasRubini/discordbotUpdatesFixFix

learned to program in python
This commit is contained in:
Djalim Simaila 2023-04-02 00:27:04 +02:00 committed by GitHub
commit d156955554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ def cleanup():
games_to_delete.append(game_id)
for game_id in games_to_delete:
del game_logic.games_list[game_id]
if os.getenv("DISCORD_BOT_TOKEN") is not "":
if os.getenv("DISCORD_BOT_TOKEN") != "":
discord_bot.update_games_presence()