Skip to content
Entity Info guildInviteExists

$guildInviteExists — Returns whether a guild invite code exists.

Returns whether a guild invite code exists.

Syntax

$guildInviteExists[guildID;code]

Parameters

  • guildID (id, required) — The guild to pull invites from
  • code (text, required) — The invite to check

Return Value

  • Boolean.

Usage

$guildInviteExists[guildID;code] → result

Example

$sendMessage[$guildInviteExists[10;abc123]]

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.