Skip to content
Entity Info userGuildID

$userGuildID — Returns the primary guild id of a user.

Returns the primary guild id of a user.

Syntax

$userGuildID[userID]

Parameters

  • userID (id, required) — The user to get its primary guild

Return Value

  • Guild.

Usage

$userGuildID[userID] → result

Example

$sendMessage[$userGuildID]

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.