Skip to content

SET BOT MEMORY 🟑 BETA

SET BOT MEMORY writes a value to the bot-wide memory store.

Where BASIC scripting sits in the Developer guide

Syntax

SET BOT MEMORY "key" = value

Example

SET BOT MEMORY "api_token" = token

What it does

SET BOT MEMORY stores a value under a key shared by all sessions of the bot.

Limits

  • Registered with positional arguments only β€” the signature shown is the exact form; named arguments are not part of the keyword.
  • The matching read form is GET BOT MEMORY.