Entity Info guildName

$guildName[]

Alias of $serverName. Returns the name of the Discord server.

Syntax
$guildName

$guildName[] — Server Name (Alias)

$guildName[] is an alias of $serverName[]. It returns the name of the Discord server in which the command is executed.

Syntax

$guildName

Parameters

No parameters.

Return Value

  • Type: string
  • The current name of the server.

Usage

Welcome Message

$sendMessage[Welcome to **$guildName**, $username! 🎉]

Custom Embed

$title[$guildName — Information]
$description[Everything you need to know about $guildName]
$addField[ID;$guildID;yes]
$addField[Members;$membersCount;yes]
$thumbnail[$guildIcon]
$color[#5865F2]
$sendEmbedMessage

Logs

$log[New command executed on $guildName ($guildID)]

Condition

$if[$guildName==My Server]
$sendMessage[You are on the main server!]
$endif

Notes

  • $guildName[] and $serverName[] are interchangeable.
  • The term “guild” comes from the Discord API (Discord API Guilds).
  • The name returned is always the current name, reflecting any recent change.