How do I get the user ID and print it out? #297
Answered
by
tandemdude
ggpenbutter
asked this question in
Q&A
-
I understand that to get the user's name you can use "ctx.author.username", and if you want to mention a user, you can use "ctx.author.mention", but how do I get the user id that "ctx.author.mention" uses to ping the player? |
Beta Was this translation helpful? Give feedback.
Answered by
tandemdude
Dec 22, 2022
Replies: 1 comment
-
ctx.author.id |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ggpenbutter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ctx.author.id