Replies: 2 comments 1 reply
-
I am guessing you mean DM them. You don't actually have to change the message flag to do this. To send a DM just simply do: userID = ctx.author.mention.replace('<@', '').replace('>', '')
user = ctx.get_user(int(userID))
await user.send(message) This will get the user that ran a command, and then send them the |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is only available to slash commands/interactions and not regular bots. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I heard message flag value 1 << 6 will allow whispering to the user, how do I change the message flag to try this?
Beta Was this translation helpful? Give feedback.
All reactions