discord.py get id of sent message
sent_message = await ctx.send("I want to get the ID of this message")
print(message.id)
discord.py get id of sent message
sent_message = await ctx.send("I want to get the ID of this message")
print(message.id)
discord.py message 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
discord bot python get message id
sent_message = channel.send(content="My message")
print(sent_message.id)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us