set isNew to False when handling events in check_events

This commit is contained in:
0ry5 2025-04-29 12:33:23 +02:00
parent 5ff4a63080
commit eb0344d916

2
bot.py
View file

@ -105,7 +105,7 @@ async def check_events():
for guild in bot.guilds:
scheduledEvents = await guild.fetch_scheduled_events()
for event in scheduledEvents:
await handleEvent(event)
await handleEvent(event, False)
async def handleEvent(event, isNew=True):