Threading actually sucks.

This commit is contained in:
2026-04-09 13:04:20 +02:00
parent a17a790b61
commit ae0c707470
2 changed files with 25 additions and 16 deletions

View File

@@ -1,9 +1,7 @@
from discord.ext import commands
import discord
import threading
intents = discord.Intents.default()
bot = commands.Bot(command_prefix="!", intents=intents)
bot.tracked_games = []
bot.tracked_games_lock = threading.Lock()