Revert "add temp special case for uio gaming birthday message"

This reverts commit 402a81f943.
This commit is contained in:
leander committed 2024-09-24 08:15:04 +02:00
1 parent d1c5336a82
commit e237e8a499
1 file changed
+3 -7
+3 -7
View File
@@ -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")