mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-05-13 02:54:50 +00:00
3575d025ba
- Added a new [Feed_Manager] section in the configuration to enable or disable RSS/API feed subscriptions, defaulting to false. - Updated the FeedManager class to handle missing configuration sections gracefully, ensuring compatibility with upgrades. - Refactored joke command configuration to standardize the use of an `enabled` key, replacing legacy `*_enabled` keys for clarity. - Adjusted the PathCommand class to enable the "p" shortcut by default, improving user experience.
1.3 KiB
1.3 KiB
Upgrade Guide
This document describes changes that may affect users upgrading from previous versions.
Upgrading from v0.7
Config Compatibility
Previous config files continue to work. The following legacy config formats are supported:
[Jokes]withjoke_enabled/dadjoke_enabled— Migrated to[Joke_Command]and[DadJoke_Command]withenabled. Both formats work; consider updating to the new format.[Stats]/stats_enabled,[Sports]/sports_enabled,[Hacker]/hacker_enabled,[Alert_Command]/alert_enabled— All support the legacy*_enabledkey; the newenabledkey is preferred.
Banned Users: Prefix Matching
[Banned_Users] uses prefix (starts-with) matching for banned_users entries. A banned entry "Awful Username" matches both "Awful Username" and "Awful Username 🍆". If you rely on exact matching, ensure your banned entries are specific enough.
New Optional Sections
[Feed_Manager]— If you use RSS/API feeds, add this section. If absent, the feed manager is disabled. New installs and minimal configs include[Feed_Manager]withfeed_manager_enabled = false.[Path_Command]— New options likepath_selection_preset,enable_p_shortcut(default: true), and graph-related settings. Omitted options use sensible defaults.