diff --git a/tags/objects.py b/tags/objects.py index d1fff310..8092d174 100644 --- a/tags/objects.py +++ b/tags/objects.py @@ -140,9 +140,7 @@ async def run(self, seed_variables: dict, **kwargs) -> tse.Response: cooldown_key=self.cooldown_key, **kwargs, ) - if cog.async_enabled: - return await output - return output + return await output if cog.async_enabled else output async def update_config(self) -> None: if self._real_tag: @@ -263,7 +261,7 @@ async def get_info(self, ctx: commands.Context) -> discord.Embed: if self.guild_id: e.set_author(name=ctx.guild, icon_url=ctx.guild.icon.url) else: - e.set_author(name=ctx.me, icon_url=ctx.me.avatar_url) + e.set_author(name=ctx.me, icon_url=ctx.me.display_avatar.url) return e async def send_info(self, ctx: commands.Context) -> discord.Message: