diff --git a/cogs/misc/autotranslate.py b/cogs/misc/autotranslate.py index a1158d3a..29f04bf3 100644 --- a/cogs/misc/autotranslate.py +++ b/cogs/misc/autotranslate.py @@ -219,7 +219,7 @@ async def on_message(self, message: discord.Message): description=translation, color=0x2F3136, ).set_footer( - text=f"Confidence: {round(data['score'])}%" # type: ignore + text=f"Confidence: {round(data['score'])}%" # type: ignore ), # type: ignore ) if delete_original or delete_original is None: @@ -283,7 +283,7 @@ async def on_message(self, message: discord.Message): allowed_mentions=discord.AllowedMentions.none(), files=attachments, # type: ignore thread=message.channel if isinstance(message.channel, discord.Thread) else discord.utils.MISSING, # type: ignore - ) + ) if attachment_removed: await message.channel.send( message.author.mention,