Skip to content
Moderation setBotGuildAvatar

$setBotGuildAvatar — Sets the bot avatar on a guild

Sets the bot avatar on a guild

Syntax

$setBotGuildAvatar[guildID;(url)]

Parameters

  • guildID (id, required) — The guild to set avatar on
  • url (text, optional) — The icon url

Return Value

  • Boolean.

Usage

$setBotGuildAvatar[guildID;(url)] → result

Example

$setBotGuildAvatar[10;$message[value]]

The value passed ($message[value]) must be a data URI such as data:image/png;base64,...: the function does not download web addresses.

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.