aboutsummaryrefslogtreecommitdiff
path: root/cogs/trans.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xcogs/trans.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/trans.py b/cogs/trans.py
index d2aead2..88e6b76 100755
--- a/cogs/trans.py
+++ b/cogs/trans.py
@@ -6,7 +6,7 @@ from google.cloud import translate_v2 as translate
translate_client = translate.Client()
-async def translateMsg(text, target="en"):
+async def translateMsg(text: str, target="en": str) -> str:
# Text can also be a sequence of strings, in which case this method
# will return a sequence of results for each text.
if isinstance(text, six.binary_type):