set isNew to False when handling events in check_events
This commit is contained in:
parent
5ff4a63080
commit
eb0344d916
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue