fixed gorking
This commit is contained in:
1 parent
d2d5a32d46
commit
b487919c07
2 files changed
+6
-6
No files matched your search
@@ -26,8 +26,6 @@ def emojer():
|
||||
moji = random.choices(e, k=3)
|
||||
return " ".join(moji)
|
||||
|
||||
emoji_response = emojer()
|
||||
|
||||
|
||||
async def doccy_response():
|
||||
doccy = jackblack()
|
||||
@@ -38,14 +36,16 @@ async def doccy_response():
|
||||
|
||||
|
||||
async def build_response():
|
||||
emoji_response = emojer()
|
||||
doccy = await doccy_response()
|
||||
|
||||
resps = [
|
||||
doccy_response,
|
||||
doccy,
|
||||
emoji_response,
|
||||
|
||||
]
|
||||
|
||||
return secrets.choice(resps)
|
||||
return str(secrets.choice(resps))
|
||||
|
||||
async def video_response():
|
||||
pass
|
||||
@@ -56,7 +56,7 @@ async def on_message(message):
|
||||
response = await build_response()
|
||||
if response.startswith("<https://"):
|
||||
pass
|
||||
elif response.isupper():
|
||||
if response.isupper():
|
||||
pass
|
||||
else:
|
||||
response = response.capitalize()
|
||||
|
||||
Reference in new issue
Block a user