aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com>2020-12-14 17:21:05 +0000
committerMango0x45 <thomasvoss@live.com>2020-12-14 17:21:05 +0000
commit5b968bffaba813118c267a0d2429399c3bde65b9 (patch)
treefd07345ee20cafe477f4816af5ea8c27daa3a9aa /cogs
parent27bcfe11bf31c12d7654921833daf9c94401eeb3 (diff)
downloadsteve-bot-5b968bffaba813118c267a0d2429399c3bde65b9.tar
steve-bot-5b968bffaba813118c267a0d2429399c3bde65b9.tar.gz
steve-bot-5b968bffaba813118c267a0d2429399c3bde65b9.tar.bz2
steve-bot-5b968bffaba813118c267a0d2429399c3bde65b9.tar.lz
steve-bot-5b968bffaba813118c267a0d2429399c3bde65b9.tar.xz
steve-bot-5b968bffaba813118c267a0d2429399c3bde65b9.tar.zst
steve-bot-5b968bffaba813118c267a0d2429399c3bde65b9.zip
Formatted with black
Diffstat (limited to 'cogs')
-rwxr-xr-xcogs/src.py1
-rwxr-xr-xcogs/trans.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/cogs/src.py b/cogs/src.py
index d112c5d..4f51426 100755
--- a/cogs/src.py
+++ b/cogs/src.py
@@ -405,5 +405,6 @@ class Src(commands.Cog):
print(e.args)
continue
+
def setup(bot):
bot.add_cog(Src(bot))
diff --git a/cogs/trans.py b/cogs/trans.py
index 34bda99..a18206f 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: str, target: str="en") -> str:
+async def translateMsg(text: str, target: str = "en") -> 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):