Skip to content

GET BOT MEMORY 🟑 BETA

GET BOT MEMORY reads a value from the bot-wide memory store.

Where BASIC scripting sits in the Developer guide

Syntax

value = GET BOT MEMORY "key"

Example

value = GET BOT MEMORY "api_token"

What it does

GET BOT MEMORY returns the value previously written under a key shared by every session 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 write form is SET BOT MEMORY; user-scoped memory uses a different keyword.