fix embed color misinput

This commit is contained in:
LBlend committed 2022-11-18 04:59:12 +01:00
1 parent 9fc307e827
commit 45b5d71dd9
1 file changed
+1 -1
+1 -1
View File
@@ -358,7 +358,7 @@ class Info(commands.Cog):
embed = embed_templates.error_warning(interaction, text='Serveren har ikke et banner :(')
return await interaction.response.send_message(embed=embed)
embed = discord.Embed(color=interaction.me.guild.color, description=f'[Lenke]({interaction.guild.banner})')
embed = discord.Embed(color=interaction.guild.me.color, description=f'[Lenke]({interaction.guild.banner})')
embed.set_author(name=interaction.guild.name, icon_url=interaction.guild.icon)
embed.set_image(url=interaction.guild.banner)
embed_templates.default_footer(interaction, embed)