diff --git a/bot.py b/bot.py index 860cee4..1a517b0 100644 --- a/bot.py +++ b/bot.py @@ -168,7 +168,7 @@ async def end(interaction: discord.Interaction): # Mark the run as ended in the logs logs[str(thread_message_id)]["status"] = "ended" - del logs[thread_message_id] + del logs[str(thread_message_id)] save_lfm_logs(logs) except discord.NotFound: