Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | sql: Implement bot state | Cara Salter | 2023-04-23 |
Allows for persistent, dynamic storage of configuration options outside of the config.json file. The bot_state table is, essentially, a key-value store for config options. There are two new prepared statements, `state` and `update_state`: - `state` will return the value for the provided key - `update_state` will create the key or update an existing key |