aboutsummaryrefslogtreecommitdiff
path: root/cogs/trans.py
diff options
context:
space:
mode:
Diffstat (limited to 'cogs/trans.py')
-rwxr-xr-xcogs/trans.py5
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"):