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")