diff --git a/bot.py b/bot.py index 70a9c29..0640143 100644 --- a/bot.py +++ b/bot.py @@ -82,8 +82,9 @@ async def on_message(message): pass response = await build_response() + if response == discord.File: - await message.channel.send(response) + await message.channel.send(file=response) if response.startswith("