Discord.py: How to make the bot respond to a DM?

Created on 12 Jan 2019  路  5Comments  路  Source: Rapptz/discord.py

Hello, how would I make my bot respond to a dm? I have a command that DM's the user who sent the message but I would like to also make it so then the user can respond to the bot and the bot will respond back

All 5 comments

Please could you state whether you are async or rewrite. Or for the best chance of help, please go to the official discord.py server

Alright thanks I joined the server

await ctx.author.send("message here")

Was this page helpful?
0 / 5 - 0 ratings

Related issues

imayhaveborkedit picture imayhaveborkedit  路  58Comments

Shea4 picture Shea4  路  21Comments

downloadpizza picture downloadpizza  路  14Comments

AceKiron picture AceKiron  路  23Comments

marcoshuck picture marcoshuck  路  16Comments