Skip to content

Commit

Permalink
Merge branch 'main' into remove-ununimplemented
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewj-brown authored Oct 27, 2023
2 parents 83e654d + c616225 commit c8178c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions uqcsbot/holidays.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,11 @@ async def holiday(self):
Posts a random celebratory day on #general from
https://www.timeanddate.com/holidays/fun/
"""
logging.info("Running daily holiday task")

holiday = get_holiday()
if holiday is None:
logging.info("No holiday was found for today")
return

general_channel = discord.utils.get(
Expand Down

0 comments on commit c8178c9

Please sign in to comment.