Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/tako-discord/tako
Browse files Browse the repository at this point in the history
  • Loading branch information
Pukimaa committed Jan 31, 2023
2 parents e14152d + 1e0c3a6 commit 729ff44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/misc/autotranslate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 729ff44

Please sign in to comment.