v5.0.0
$roleName
Returns a Role name using their ID
This function returns the name of the specified role
1
$roleName[role ID]
Copied!
1
bot.command({
2
name: "roleinfo",
3
code: `
4
Role name: $roleName[$mentionedRoles[1]]
5
Role ID: $mentionedRoles[1]`
6
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub