Ask coding questions
I have a username example#1234 how would I turn that into a user object?
You can't just get a user by username, they have to be in your server, aka guild.
@Coder100 they would be in a discord server that I know of I have their tag but not their user object.
OkJust. Sec @Mathman05
Once you have ID you have everything.https://stackoverflow.com/questions/61284468/how-to-find-a-user-id-from-a-username-in-discord-js@Mathman05
@Coder100 also removing the .id from the end just gives you the user :D
You can use a person´s name and tag, you need their id. Like 80000000000000000
*node.js discord bot