v5.0.0
$mentionedRoles
Returns the ID of mentioned roles, such as $mentioned function.
This function returns the id of the mentioned role
1
$mentionedRoles[arg]
Copied!
1
bot.command({
2
name: "role",
3
code: `$mentionedRoles[1]`
4
/*
5
Arg Numbers
6
1- Return the first mentioned
7
2- Return the second mentioned
8
and so on
9
*/
10
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub