From 417c4830a3b28d5379e1d39d08c354c700d4b341 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 16:43:00 -0400 Subject: [PATCH] fix: hopefully fixed embed.set_thumbnail --- info/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info/info.py b/info/info.py index fc4d924..3539456 100644 --- a/info/info.py +++ b/info/info.py @@ -516,7 +516,7 @@ class Info(commands.Cog): timestamp = int(datetime.timestamp(role.created_at)) embed = discord.Embed(title=f"{role.name}", color=colorint, description=f"**ID:** {role.id}\n**Mention:** {role.mention}\n**Creation Date:** \n**Color:** [#{color}]({colorcodelink})\n**Hoisted:** {role.hoist}\n**Position:** {role.position}\n**Managed:** {role.managed}\n**Mentionable:** {role.mentionable}\n**Administrator:** {permissions.administrator}") if icon_url: - embed.set_thumbnail(icon_url) + embed.set_thumbnail(url=icon_url) if permissions.administrator == False and list_permissions == True: embed.add_field(name="Permissions", value=f"**Manage Server:** {permissions.manage_guild}\n**Manage Webhooks:** {permissions.manage_webhooks}\n**Manage Channels:** {permissions.manage_channels}\n**Manage Roles:** {permissions.manage_roles}\n**Manage Emojis:** {permissions.manage_emojis}\n**Manage Messages:** {permissions.manage_messages}\n**Manage Nicknames:** {permissions.manage_nicknames}\n**Mention @everyone**: {permissions.mention_everyone}\n**Ban Members:** {permissions.ban_members}\n**Kick Members:** {permissions.kick_members}") await ctx.send(embed=embed)