v5.0.0
$modifyRole
Modifies a role by using their ID.
With this function you can modify an eisting role by editing it's name/color/mentionability/hoist
Raw usage: $modifyRole[roleID;name (optional);color(optional);mentionable(optional);hoisted(optional)]
Example Usage:
This command changes the role name and it's color:
1
bot.command({
2
name: "editrole",
3
code: `
4
$modifyRole[837765028031234098;Bot;700505]
5
`
6
})
Copied!
you can use RANDOM in the color field for a random role color πŸ˜‰
Last modified 1mo ago
Copy link
Edit on GitHub