From e237e8a4992d76ee25ae1ee9f11576fb79a09963 Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Tue, 24 Sep 2024 08:15:04 +0200 Subject: [PATCH] Revert "add temp special case for uio gaming birthday message" This reverts commit 402a81f94399500a827ffd8208097dbfe08ee7af. --- src/cogs/birthday.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/cogs/birthday.py b/src/cogs/birthday.py index 790ad33..81e198c 100644 --- a/src/cogs/birthday.py +++ b/src/cogs/birthday.py @@ -76,14 +76,10 @@ class Birthday(commands.Cog): channel = guild.get_channel(747542544291987597) for birthday in birthdays: user = await guild.fetch_member(birthday[0]) - if not user: - self.bot.logger.warning(f"Could not find user with ID {birthday[0]}") - return - - if user.id == 897206214205788162: - await channel.send(f"Gratulerer til med dagen {user.mention} 😎\nhttps://i.imgur.com/LRXcHhG.jpeg") - else: + if user: await channel.send(f"Gratulerer med dagen {user.mention}! 🥳") + else: + self.bot.logger.warning(f"Could not find user with ID {birthday[0]}") async def cog_unload(self): self.bot.logger.info("Unloading cog")