Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Kav-K committed Jan 16, 2023
2 parents 8c1f492 + e1d990d commit 29fb90e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cogs/translation_service_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ async def translate_command(self, ctx, text, target_language):
await ctx.respond(f"There was an error with the DeepL API: {e.message}")
return

await ctx.respond(embed=build_translation_embed(text, response, target_language))
await ctx.respond(
embed=build_translation_embed(text, response, target_language)
)

async def translate_action(self, ctx, message):
await ctx.defer(ephemeral=True)
Expand Down

0 comments on commit 29fb90e

Please sign in to comment.