Added help command

This commit is contained in:
Robert 2020-01-08 21:18:17 +01:00
parent 5a440d91ab
commit 75d5a3c664
8 changed files with 119 additions and 9 deletions

View file

@ -19,6 +19,9 @@ class Translation(commands.Cog):
return
response = translation.translate(text, code)
if len(response) == 0:
await ctx.send(embed=embed.make_error_embed(f"The translation API doesn't support **{language}**."))
return
translated = response[0]
direction = response[1].split("-")
_from = translation.ISO_to_name(direction[0])