Skip to content

Commit 9914063

Browse files
committed
Fix check
1 parent 242c932 commit 9914063

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/meeting.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ async def find_next_event_and_notify_core_team(client: nextcord.Client):
4545

4646
if next_meeting_in_days > 25:
4747
print("Next meeting is more than 25 days away, not adding the scheduled event")
48+
return
4849

49-
await add_scheduled_event(next_meeting, channel.guild)
50+
await add_scheduled_event(next_meeting, channel.guild)
5051

5152
if next_meeting_in_days > 3:
5253
print("Next meeting is more than 3 days away")

0 commit comments

Comments
 (0)