diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 4d82776..b82c75f 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -246,18 +246,6 @@ class Galaxy(commands.Cog): async def faq(self, ctx): """Posts answers to frequently asked questions.""" - @faq.command(name="test") - @checks.admin() - async def faq_test(self, ctx, member: discord.Member = None): - """Testing FAQ""" - embed=discord.Embed(title="Test Embed", color=await self.bot.get_embed_color(None), description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer in faucibus odio, at mollis metus.") - embed.set_footer(text=ctx.author, icon_url=ctx.author.avatar_url_as(format="png", size=512)) - if member: - await ctx.channel.send(embed=embed, content=member.mention) - else: - await ctx.channel.send(embed=embed) - await ctx.message.delete() - @faq.command(name="dps") async def faq_dps(self, ctx, member: discord.Member = None): """DPS Calculations/Inaccuracy""" diff --git a/info/info.py b/info/info.py index 02f9d6f..851beea 100644 --- a/info/info.py +++ b/info/info.py @@ -489,7 +489,7 @@ class Info(commands.Cog): name = " ~ ".join((name, member.nick)) if member.nick else name name = filter_invites(name) - avatar = member.avatar_url_as(format='png') + avatar = member.avatar.replace(format='png') data.set_author(name=f"{statusemoji} {name}", url=avatar) data.set_thumbnail(url=avatar) diff --git a/suggestions/suggestions.py b/suggestions/suggestions.py index d3545bc..e1d5f86 100644 --- a/suggestions/suggestions.py +++ b/suggestions/suggestions.py @@ -85,8 +85,8 @@ class Suggestions(commands.Cog): ) embed = discord.Embed(color=await ctx.embed_colour(), description=suggestion) footer = [f"Suggested by {self.check_discrim(ctx.author)} ({ctx.author.id})", - ctx.author.avatar_url] - author = [f"{ctx.author.display_name}", ctx.author.avatar_url] + ctx.author.avatar.url] + author = [f"{ctx.author.display_name}", ctx.author.avatar.url] embed.set_footer( text=footer[0], icon_url=footer[1] @@ -190,7 +190,7 @@ class Suggestions(commands.Cog): approved = "Approved" if approve else "Denied" embed.title = f"Suggestion {approved} (#{suggestion_id})" footer = [f"{approved} by {self.check_discrim(author)} ({author.id}", - author.avatar_url_as(format="png", size=512)] + author.avatar.url_as(format="png", size=512)] embed.set_footer( text=footer[0], icon_url=footer[1] @@ -464,7 +464,7 @@ class Suggestions(commands.Cog): embed.title = f"Suggestion {approved} (#{suggestion_id})" footer = [f"{approved} by {self.check_discrim(author)} ({author.id}", - author.avatar_url_as(format="png", size=512)] + author.avatar.url_as(format="png", size=512)] embed.set_footer( text=footer[0], icon_url=footer[1]