© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Get member "in-server" nickname - discord.js - Imagine an app
d-Iaa
discord.js - Imagine an app
•
3y ago
•
6 replies
Vico
Get member "in-server" nickname
How can i properly get the username of a member in a server
? I tried to use
<Message>.author.displayName
<Message>.author.displayName
under
messageCreate
messageCreate
callback but it returned the
"global
" username
(in case of a specific member that didn
't migrated to the new format yet
, the user
#0000 format
)
.
How can i safely fetch the user that was set to be use inside the guild
?
discord.js - Imagine an app
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,666
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
User "in server" nickname
d-Iaa
discord.js - Imagine an app / djs-questions
11mo ago
how to get server member amount
d-Iaa
discord.js - Imagine an app / djs-questions
4y ago
Get All member in guild
d-Iaa
discord.js - Imagine an app / djs-questions
4y ago
How to change the nickname of a member?
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago