[CORE] Bot Level or Bot Command Level Persistent Settings & Variables #33
Labels
No labels
Automated
Backlog
Post_Prototype_1.0
Bot_Code
Core
Bot_Code
Custom
CI/CD
Complexity
Advanced
Complexity
Basic
Complexity
Expert
Complexity
Intermediate
Kind/Breaking
Kind/Bug
Kind/Bug Fix
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Nix
Ownership
Collab
Ownership
Collab with Leads
Ownership
Individual Lead
Ownership
In-Review
Ownership
Needs Owner > May Delegate
Ownership
Workshop with Leads
Phase 1.0
Requirements > Drafting
Phase 1.0
Requirements > Researching
Phase 1.0
Requirements > Review & Planning
Phase 2.0
Design > Research & Analysis
Phase 3.0
Coding > Implementation
Phase 4.0
QA > Unit Testing & Design
Phase 5.0
Resolution > Completed
Phase 5.0
Resolution > Review for Completion
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: modulatingforce/forcebot_rs#33
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At the moment, there are no persistent settings at Bot Command level or those that might be added custom at a Bot Level
I'd like to have an object that could on the fly add Application Settings that could be adjusted and might depend on module? This could be easily accommodated by a
HashMap
in whatever combination I wantExample Use Case
As a Custom Module Developer , I want to create a module that requires storing some persistent variables across runs of the
BotActions
I've definedPossible Implementation?
HashMap
based on Modules that is stored atBotInstance
level or Child ofBotInstance
that might store something along the following pseudocodeStatusLvl
,ModType
,String
(application setting name) )String
Related
In the above, as a Custom Modules Developer, I could use commands like the following to get and set settings
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
Removing Need More Info flag - we can still work on this feature for now for Custom Modules to have a degree of state persistence . I can revisit #29 later
Maybe should rename this as
AppRegistry
since this would not only include custom settings that a modules developer may set, but also auxiliary temporary variables that change like a running total or last time a win occurredOr better yet, not only rename to
AppRegistry
but also include a related enum for the typeAnd involve a
HashMap
with :StatusLvl
,ModType
,RegType
, String (application setting name) )interests
BotCommand #81