how to get my bot to dm someone discord.py code example
Example: how to make a discord bot dm someone python
@bot.command(pass_context = True)
async def dm(ctx, member : discord.Member, *, content: str):
await bot.send_message(member, content)
@bot.command(pass_context = True)
async def dm(ctx, member : discord.Member, *, content: str):
await bot.send_message(member, content)