how to dm the person who use command discord.py code example
Example: how to make discord.py rewrite bot dm someone
@bot.command()
async def pm(ctx):
user_id_list = [1, 2, 3] # Replace this with list of IDs
for user_id in user_id_list:
user = await bot.get_user_info(user_id)
await user.send('hello')