diff options
author | Mango0x45 <thomasvoss@live.com> | 2020-08-11 12:38:25 +0000 |
---|---|---|
committer | Mango0x45 <thomasvoss@live.com> | 2020-08-11 12:38:25 +0000 |
commit | 85ce3053a69c5e62fe6775563b8a7fddba9c071e (patch) | |
tree | 6246239c2748dd39d570f045c82492e7e4ed7de5 /cogs/trans.py | |
parent | 483bd6fb989d0538ee5ebdc167977dbe3e351f97 (diff) | |
download | steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.gz steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.bz2 steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.lz steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.xz steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.tar.zst steve-bot-85ce3053a69c5e62fe6775563b8a7fddba9c071e.zip |
Organized imports
Diffstat (limited to 'cogs/trans.py')
-rwxr-xr-x | cogs/trans.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cogs/trans.py b/cogs/trans.py index 9ca1004..965f68e 100755 --- a/cogs/trans.py +++ b/cogs/trans.py @@ -1,7 +1,8 @@ -from discord.ext import commands import discord -from google.cloud import translate_v2 as translate import six +from discord.ext import commands +from google.cloud import translate_v2 as translate + translate_client = translate.Client() async def translateMsg(text, target="en"): |