how can a bot dm someone on 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)