Skip to content
Bot profile setBotAvatar

$setBotAvatar

Changes the avatar of the bot from an image URL. This function is a Bot Creator extension: it does not exist in the official BDFD wiki. It runs the same Discord logic as the matching action.

Syntax

$setBotAvatar[url]

Parameters

Parameter Description
url Required. A public image URL (PNG, JPG or GIF).

Return Value

  • Returns nothing.

Behavior

  • Discord limits how often the avatar can change.
  • The image is downloaded by the bot, never keep a private URL here.

Examples

$setBotAvatar[https://example.com/avatar.png]

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.