Skip to content
Moderation setGuildName

$setGuildName — Sets a guild name, returns boolean.

Sets a guild name, returns boolean.

Syntax

$setGuildName[guildID;name;(reason)]

Parameters

  • guildID (id, required) — The guild to set name
  • name (text, required) — The new name
  • reason (text, optional) — The reason for this action

Return Value

  • Boolean.

Usage

$setGuildName[guildID;name;(reason)] → result

Example

$sendMessage[$setGuildName[10;New name]]

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.