$randomRoleID

Returns a random role id from the current server or from the provided server.

Syntax

$randomRoleID[(guild ID)]

Parameters

  • guild ID (Type: Snowflake || Flag: Optional): The server from which to get a random role id. (Defaults to the current server)

Example

$nomention
Random Role: $roleName[$randomRoleID[]]

example

It can return the @everyone role ID!

example