diff options
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"): |