Skip to content
Entity Info botTeamID

$botTeamID — ID of the team that owns the bot

Returns the ID of the Discord team that owns the bot application.

Syntax

$botTeamID

Behavior

Reads the team.id field of the bot application returned by Discord. When the application belongs to a single user and not to a team, the result is an empty string. See also $botTeamName and $botTeamCreatedAt.

Parameters

None.

Return Value

A Discord snowflake, or an empty string when the bot has no team.

Example

$description[Team ID: $botTeamID]

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.