Closed
Description
upload_file()
issue
When trying to upload a simple txt file to Discord using the DiscordBackend the following error arises as seen below
My code:
from errbot import BotPlugin, botcmd
class Test(BotPlugin):
@botcmd
def file(self, msg, args):
self._bot.upload_file(
msg,
'plugins/test/test.txt'
)
Discord Output:
> !file
Computer says nooo. See logs for details:
'Client' object has no attribute 'send_file'
Metadata
Metadata
Assignees
Labels
No labels