Skip to content

v0.2.0

Choose a tag to compare

@The-LukeZ The-LukeZ released this 08 Jul 01:43
95e107a

SQLite-backed config + /config commands

Runtime config (similarity threshold, alert-after count, window, timeout duration, unify_attachments, actions, alert channel, excluded channels, message templates) moved from .env to SQLite. .env now only holds secrets/bootstrap vars - DB is created + seeded automatically on first run.

New /config slash command (guild-only, Manage Server permission) to view and edit all of the above live, no restart needed:

  • /config view
  • /config set (similarity_min, alert_after, window_seconds, timeout_duration, unify_attachments, alert_channel)
  • /config actions add|remove
  • /config excluded_channels add|remove
  • /config message get|set|reset

Breaking-ish: existing .env values for the migrated fields are read once to seed the DB then ignored - edit config via /config (or the SQLite file) from now on.

Full Changelog: v0.1.1...v0.2.0