discord bot direct message python 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)