$changeNickname

Changes the nickname of a specified member in the server.

Usage:

$changeNickname[userID;nickname]

  • userID: The ID of the member whose nickname you want to change.
  • nickname: The new nickname you want to assign to the member.

Example:

$changeNickname[$authorID;I'm a bot lol]

This example changes the nickname of the command author to "I'm a bot lol". Make sure your bot has the correct permissions to change nicknames!

What You Need to Know

  • The bot requires the "Manage Nicknames" permission in the server.
  • The bot can only change nicknames of members with roles lower than its highest role.
  • The bot will error out if it doesn't have the required permissions or the user ID is invalid.

Useful Functions

  • $authorID: Retrieves the ID of the command author.

Related Functions

  • $nickname: Retrieves the current nickname of a member.
Difficulty: Easy
Tags: change Nickname nickname member Names modify name