Answers for "dm someone discord.py"

1

discord.py dm specific user

if message.content == "dm":
        await message.channel.send("Dming user")
        dm = await message.author.create_dm()  # Creates a dm channel with the user
        await dm.send("What you want to send")  # Sends the user the message
Posted by: Guest on March-05-2021
0

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)
Posted by: Guest on May-17-2020

Code answers related to "dm someone discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language