[CORE] ModeManager #29

Open
opened 2024-03-19 12:30:22 -04:00 by modulatingforce · 1 comment

Relatively High Priority as Core Prototype Feature

From Obsidian Vault

  • #pending_to_code struct ModeManager

Stores :

  • statusdb - HashMap<ChMode, Vec<StatusType>>
    • e.g., ChMode::quiet might be Enabled for a `Channel("channel_name")

Methods & Related Functions :

  • functionality with BotCommand toggle, retrieve, and set the ModeSatusType for any BotModule
    • #pending_to_code #question should I create a type StatusType that can be shared between ModeManager and ModulesManager? The StatusType is entirely the same meaning - it is enabled/disabled for the object encompassing it . => 02.25 - Yes I should just have a generic StatusType
  • Unit Tests
Relatively High Priority as Core Prototype Feature From Obsidian Vault - [ ] _#pending_to_code_ `struct ModeManager` Stores : - statusdb - `HashMap<ChMode, Vec<StatusType>>` - e.g., `ChMode::quiet` might be `Enabled` for a `Channel("channel_name") Methods & Related Functions : - functionality with `BotCommand` toggle, retrieve, and set the `ModeSatusType` for any `BotModule` - [ ] _#pending_to_code_ #question should I create a type `StatusType` that can be shared between `ModeManager` and `ModulesManager`? The `StatusType` is entirely the same meaning - it is enabled/disabled for the object encompassing it . => 02.25 - Yes I should just have a generic `StatusType` - Unit Tests
Author
Owner

Both the following issues might be redundant , or we may want to be cherry pick what we'd like from both designs depending on critical setting or mode

#29
#33

Both the following issues might be redundant , or we may want to be cherry pick what we'd like from both designs depending on critical setting or mode https://git.flake.sh/modulatingforce/forcebot_rs/issues/29 https://git.flake.sh/modulatingforce/forcebot_rs/issues/33
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: modulatingforce/forcebot_rs#29
No description provided.