update name of color fetching function

This commit is contained in:
LBlend committed 2022-11-15 03:59:53 +01:00
1 parent ff9f8f7e31
commit 18d5bd4d39
1 file changed
+1 -1
+1 -1
View File
@@ -172,7 +172,7 @@ class Birthday(commands.Cog):
next_birthday = self.__fetch_user_next_birthday(bruker.id)
next_birthday_days = (next_birthday - datetime.now()).days
embed = discord.Embed(description=bruker.mention, color=discord_utils.get_user_color(bruker))
embed = discord.Embed(description=bruker.mention, color=discord_utils.get_color(bruker))
embed.set_thumbnail(url=bruker.display_avatar)
embed.set_author(name=bruker.name, icon_url=bruker.display_avatar)
embed.add_field(name="Bursdag", value=discord.utils.format_dt(birthday, style="D"))