[CORE] BotInstance #27

Open
opened 2024-03-19 12:26:42 -04:00 by modulatingforce · 0 comments

I'm sure below have dependencies , so this may need to wait . However, relatively high priority as this is a Core prototype feature

From Obsidian Vault

struct BotInstance

[!note]- Stores an instance of ModulesManager , IdentityManager , Chat, & other attributes

[!note]- Methods & Related Functions include :

  • runner() - containing the main game loop
  • Through Chat , controlled or formatted irc messaging (e.g., being within rate limits, formatted with extra spaces, etc)
    • #pending_to_code for Chat only say_in_reply_to() is defined, but others haven't been implemented
    • #pending_to_code ChMode("quiet") should stop messages from being sent (unless forced or special circumstances?)
  • Before running BotAction ,
    • if a BotCommand, validate the sender has an appropriate UserRole (from IdentityManager)
    • #pending_to_code validate against ModulesManager if Module is Enabled before considering executing
  • #pending_to_code simple unit tests ?
  • #pending_to_code OAuth Refresher - Twitch Oauth 
  • #pending_to_code Cleanup debug & trace logging
I'm sure below have dependencies , so this may need to wait . However, relatively high priority as this is a Core prototype feature From Obsidian Vault `struct BotInstance` >[!note]- Stores an instance of `ModulesManager` , `IdentityManager` , `Chat`, & other attributes >[!note]- Methods & Related Functions include : > - `runner()` - containing the main game loop > - Through `Chat` , controlled or formatted irc messaging (e.g., being within rate limits, formatted with extra spaces, etc) > - [ ] _#pending_to_code_ for `Chat` only `say_in_reply_to()` is defined, but others haven't been implemented > - [ ] _#pending_to_code_ `ChMode("quiet")` should stop messages from being sent (unless forced or special circumstances?) > - Before running `BotAction` , > - if a `BotCommand`, validate the sender has an appropriate `UserRole` (from `IdentityManager`) > - [ ] _#pending_to_code_ validate against `ModulesManager` if Module is `Enabled` before considering executing >- [ ] _#pending_to_code_ simple unit tests ? >- [ ] _#pending_to_code_ OAuth Refresher - [Twitch Oauth](https://github.com/twitch-rs/twitch_oauth2)  > - [ ] _#pending_to_code_ Cleanup debug & trace logging
modulatingforce added this to the Prototype 1.0 milestone 2024-03-19 12:26:42 -04:00
modulatingforce added the
Kind/Feature
Priority
Medium
labels 2024-03-19 12:26:42 -04:00
modulatingforce self-assigned this 2024-03-19 12:26:42 -04:00
modulatingforce added this to the Rust Learning project 2024-03-19 12:26:42 -04:00
modulatingforce added the
Bot_Code
Core
Complexity
Advanced
labels 2024-03-27 18:35:32 -04:00
modulatingforce modified the project from Rust Learning to Forcebot Prototype 1.0 Push 2024-03-27 18:45:28 -04:00
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#27
No description provided.