From c0218f0ce92f14abebbea65b0f2624c0bc2e1626 Mon Sep 17 00:00:00 2001 From: CF <0xicl33n@protonmail.com> Date: Mon, 26 May 2025 13:43:34 -0700 Subject: [PATCH] retuyrn path --- bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index df69494..91e9841 100644 --- a/bot.py +++ b/bot.py @@ -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() @@ -85,7 +85,7 @@ 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")) + await message.channel.send(file=discord.File(response)) if response.startswith("