Closed nhdxyz closed 5 years ago
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
official discord.py server edit: oops sry
Alright thanks I joined the server
For the async branch, see: https://discordpy.readthedocs.io/en/latest/api.html#discord.Message.channel https://discordpy.readthedocs.io/en/latest/api.html#privatechannel https://discordpy.readthedocs.io/en/latest/api.html#discord.Client.send_message
For the rewrite branch, see: https://discordpy.readthedocs.io/en/rewrite/api.html#discord.Message.channel https://discordpy.readthedocs.io/en/rewrite/api.html#discord.DMChannel.send
Since your issue seems to have been resolved, feel free to close it now, and as indicated and as the README recommends, for future questions like this, you should join either the official discord.py server or the Discord API server for help.
await ctx.author.send("message here")
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