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("