mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
update name of color fetching function
This commit is contained in:
1 file changed
+1
-1
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user