Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dm user discord.py

@client.command()
async def dm(ctx, user: discord.User, *, reason = None)
 await ctx.send(f"I'm messaging {user.mention}!")
 await user.send({reason})
 
PREVIOUS NEXT
Tagged: #dm #user
ADD COMMENT
Topic
Name
4+2 =