Skip to content

$setClientName

$setClientName will change the clients’ Discord Username.

Usage

$setClientName[username]

Parameters

FieldTypeDescriptionRequired
usernamestringThe new client username.true

Example(s)

This will change the client’s username to the command author’s username:

1
client.command({
2
name: "setClientName",
3
code: `
4
$setClientName[$username[$authorID]]`
5
});