Compare commits

...
2 Commits
Author SHA1 Message Date
CF 5877807846 zxcSDfdsafdsadfas 2025-05-26 13:46:32 -07:00
CF c0218f0ce9 retuyrn path 2025-05-26 13:43:34 -07:00
+6 -10
View File
@@ -30,8 +30,8 @@ def emojer():
def fuit_response():
vid = secrets.choice(os.listdir("./assets/vid/"))
path = f"./assets/vid/{vid}"
with open(path, "rb") as ourfile:
return ourfile
#with open(path, "rb") as ourfile:
return path
async def doccy_response():
doccy = jackblack()
@@ -59,13 +59,7 @@ async def build_response():
resps = fuit
else:
resps = doccy
'''resps = [
doccy,
emoji_response,
]
'''
#return str(secrets.choice(resps))
return resps
@@ -84,8 +78,10 @@ async def on_message(message):
response = await build_response()
if isinstance(response, io.IOBase):
await message.channel.send(file=discord.File(response, filename="fuit.mov"))
try:
await message.channel.send(file=discord.File(response))
except:
pass
if response.startswith("<https://"):
pass
if response.isupper():