$setUserNickname
$setUserNickname
will change a nickname of a guild member.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
userID | number | The user ID of the user whose nickname shall be changed. | true |
newName | string, number | Their new nickname. | true |
reason? | string, number | Reason that will be displayed in the guild’s audit logs. | false |
Example(s)
This will change your nickname to “I love aoi.js”: (wont work if you’re the guild owner)