> For the complete documentation index, see [llms.txt](https://thediamondroblox.gitbook.io/advancedbot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thediamondroblox.gitbook.io/advancedbot/how-to-change-nicknames-for-members.md).

# How to change nicknames for members?

Changing nicknames for all members or members having a role or humans or bots is done very simply using AdvancedBot.

**This is a guide on how to change user's nicknames using AdvancedBot.**\
The command for changing nicknames is:\
`?nick`\
There are 4 subcommands in the nick command.\
The subcommands are:\
`?nick all`\
`?nick humans`\
`?nick bots`\
`?nick [user]`\
The command usages are:\
`?nick all [nickname]`\
`?nick humans [nickname]`\
`?nick bots [nickname]`\
`?nick [user] [nickname]`\
The nickname argument supports two variables:\
`{username}`\
`{userid}`\
The user argument supports: Username, user id, user mention.\
The command usage examples are:\
`?nick all {username} ✨`\
`?nick humans AdvancedBot Best`\
`?nick bots #AdvancedArmy`\
`?nick @User [new nickname]`\
Things to make sure:\
`- You are using the right prefix while using the command.`\
`- The utility module is enabled in the server.`\
`- The nick command is enabled in the server.`\
`- You have the correct permissions while using the command.` \
`- AdvancedBot's top role position is higher than all other roles for ?nick all, ?nick humans, ?nick bots to work correctly.`\
Frequently asked questions:\
**Question 1:** Why does the bot not change the server owner's nickname?\
**Answer 1:** Discord does not allow any server member or bot to change the nickname of a server's owner, the server owner's nickname can only be changed by the owner itself.\
**Question 2:** Why does AdvancedBot not change everyone's nickname correctly?\
**Answer 2:** Discord has a 32 letter limit for server nicknames, if you are using a nickname variable, AdvancedBot tries to change the nickname for them but fails, the most common reason being their username's letters + your input are more than 32 characters.\
**Question 3:** What do the variables do?\
**Answer 3:** There are two variables supported, {username} and {userid}, for example: If you do "?nick all {username} ✨", AdvancedBot will replace {username} with the member's discord username and add the sparkles emoji after their username as the input was given in the example.\
If you have any question/concern or face any difficulties with using the nick command, you can feel free to ask in AdvancedBot's [support server](https://discord.gg/X9URYUd).<br>
