mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
Revert "add temp special case for uio gaming birthday message"
This reverts commit 402a81f943.
This commit is contained in:
1 parent
d1c5336a82
commit
e237e8a499
1 file changed
+3
-7
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user