Free Games Discord Bot Discord

stackoverflow.com › questions › 50860397python - Discord.py Bot sending file to Discord Channel ...

Updated: 4 days ago
Jun 14, 2018 · @bot.command(pass_context=True) async def send(ctx): area=ctx.message.channel await bot.send_file(area, r"c:\location\of\the_file_to\send.png",filename="Hello",content="Message test") You can refer to the discord documentation for it here link

https://stackoverflow.com/questions/50860397/discord-py-bot-sending-file-to-discord-channel

Extra Off Deal
Show All Coupons

Top Categories

Top Stores