Merge pull request #141 from ThomasRubini/discordbotUpdatesFix

fix spam in server output
This commit is contained in:
Djalim Simaila 2023-04-02 00:13:25 +02:00 committed by GitHub
commit 71e93041ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +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 "":
discord_bot.update_games_presence()