$changeUsernameWithID

Changes a user's nickname using their ID.

Syntax

$changeUsernameWithID[User ID;New nickname]

Parameters

  • User ID (Type: Snowflake || Flag: Required): The ID of the user whose nickname will be changed.
  • New nickname (Type: String || Flag: Required): The text to change the user's nickname to. It cannot exceed more than 32 characters, using %username% will be replaced by real user's username.

Example

$nomention
$argsCheck[>1;Please provide text!]
$addCmdReactions[✅]
$changeUsernameWithID[$findUser[$message[1]];$message[2]]

example

How $findUser[] works?