Closed GrantBirki closed 2 years ago
upload_file()
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'
Thanks for reporting this, I'll try to replicate the issue.
upload_file()
issueWhen trying to upload a simple txt file to Discord using the DiscordBackend the following error arises as seen below
My code:
Discord Output: