Skip to content
Entity Info memberBotRoleID

$memberBotRoleID — Returns the managed bot role of a member, only available for bots.

Returns the managed bot role of a member, only available for bots.

Syntax

$memberBotRoleID[guildID;userID]

Parameters

  • guildID (id, required) — The guild to pull member from
  • userID (id, required) — The user to get the managed bot role from

Return Value

  • Role.

Usage

$memberBotRoleID[guildID;userID] → result

Example

$sendMessage[$memberBotRoleID[10;98]]

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.