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

reuscam picture reuscam  路  3Comments

ghost picture ghost  路  3Comments

Spyder-exe picture Spyder-exe  路  3Comments

synbitz picture synbitz  路  3Comments

Be4Vision picture Be4Vision  路  3Comments