[ENH] Define Commands as a type of trait or class? #4
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#4
Loading…
Add table
Add a link
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?
In the py implementation of forcebot, we can define a command prefix that is listened to, and if determined to be a command, call a function that uses that command
I want something similar with perhaps traits so that a developer can concentrate more of the implementation of the command body without needing to consider for example the command prefix etc
Commands should have the following defined :
Considering medium priority. This will help ease designing and implementing future commands quickly
Review for Completion
BotActionthat would be restrained by User ControlsUpdate :
To Address This Issue :
Custom Module Developers can :
BotModules &BotActions , that are Added to aBotInstance'sModuleManagerBotActionThis was by By Commit
modulatingforce/forcebot_rs@e587a6f24aModuleManagergeneral working prototype definition as an object catalogs loadedBotActions and theirBotModulesDeveloper HOWTO Documentation for setting up custom
BotModules and add them to the bot :(FUTURE RELEASE)
BotCommands withSpecialRolesfield (?)ModuleManager(ifEnabledfor the context) andIdentityModuleto if the command is permissible based on the caller'sUserRolesBotCommands withExecutionBodyfieldNOTE : Before I close out this issue, I must create a separate create a Separate Issue for at least SpecialRoles , as the requirement in Milestone : https://git.flake.sh/modulatingforce/forcebot_rs/milestone/1 includes
BotActionthat would be restrained by User ControlsCreated the following for implementing
exec_body: #7Considering completed
As of latest code,
BotCommands can be defined and added to the bot'sModulesManager. Example below