Skip to content
Entity Info findGuild

$findGuild — Finds a guild

Finds a guild

Syntax

$findGuild[query;(returnguild)]

Parameters

  • query (text, required) — The id, the name or an invite link (https://discord.gg/code) of a guild the bot is in
  • returnguild (boolean, optional) — Returns the current guild id if none found

Return Value

  • Guild.

Usage

$findGuild[query;(returnguild)] → result

Example

$sendMessage[$findGuild[Other]]

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.