Skip to content
Server Helpers roleMemberCount

$roleMemberCount — Number of members that have a role, without listing their IDs

Number of members that have a role, without listing their IDs.

Syntax

$roleMemberCount[roleID]

Parameters

  • roleID (ID, required) — The role.

Return Value

  • number.

Usage

$roleMemberCount[123] → "42"

Example

$sendMessage[$roleMemberCount[123]]

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.