Closed adhoc92 closed 7 years ago
Please read the documentation. http://discordpy.readthedocs.io/en/latest/api.html#discord.Client.send_file
bot.upload
is the commands ext equivalent of Client.send_file
.
For posting a local image in an embed, see this StackOverflow thread: https://stackoverflow.com/questions/61578927/use-a-local-file-as-the-set-image-file-discord-py/61579108#61579108
(It's compatible with the rewrite of discord.py)
Posting an image link is easy:
But changing the URL to something like C:/blah/blah/blah.png obviously doesn't work. Is it possible?