Entity Info
guildRoleIDs
$guildRoleIDs — Returns every role id of the guild.
Returns every role id of the guild.
Syntax
$guildRoleIDs[guildID;(separator);(everyone)]
Parameters
- guildID (id, required) — The guild to get role ids from
- separator (text, optional) — The separator to use for every role
- everyone (yes/no, optional) — Whether to include the @everyone role, defaults to true
Return Value
- Role[].
Usage
$guildRoleIDs[guildID;(separator);(everyone)] → result
Example
$sendMessage[$guildRoleIDs[10;,;true]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.