$massRole
Adds or removes the defined role to all members positioned below the bot in the guild the command is executed in. Each role being takes about 2 seconds per user to execute.

FUNCTION USAGE

  • $massRole[add;roleID]
  • $massRole[remove;roleID]

Properties:

add - Adds the defined role to every user below the position of the bot. remove - Removes the defined role from every user below the position of the bot. roleID - The ID of the role to add or remove.
Example:
1
bot.Command({
2
name: "massrole",
3
code: `
4
$massRole[add;$mentionedRoles[1]]
5
Done! The role <@&$mentionedRoles[1]> has been given to all members!]
6
`
7
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: