Home

Published

- 1 min read

how to make a discord bot dm someone python

img of how to make a discord bot dm someone python

The solution for this is noted below

how to make a discord bot dm someone python

Solution

   @bot.command(pass_context = True)
async def dm(ctx, member : discord.Member, *, content: str):
    await bot.send_message(member, content)

Try other methods by searching on the site. That is if this doesn’t work