From 76d67eab811feec934b7ad3d47c47be6a16aa45d Mon Sep 17 00:00:00 2001 From: ModulatingForce <116608425+modulatingforce@users.noreply.github.com> Date: Tue, 30 Jan 2024 15:07:40 -0500 Subject: [PATCH] (cont) identity > promote - comments --- src/core/identity.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/core/identity.rs b/src/core/identity.rs index 49a3528..f7aed5d 100644 --- a/src/core/identity.rs +++ b/src/core/identity.rs @@ -36,6 +36,25 @@ pub fn init(mgr:&mut ModulesManager) //println!("(#{}) {}: {}", msg.channel_login, msg.sender.name, msg.message_text); println!("Called cmd promote"); + // -- If the BotCommand.command was called (e.g., promote), this is the current function body to execute + + /* + - `promote` / `demote` + - [ ] `SupMod` & `Broadcaster` & `BotAdmin` can run + - [ ] `UserRole`s that can run, can + - [ ] run `promote` on a regular `Chatter` to make them a `Mod` + - [ ] run `demote` on a `Mod` to make them a `Chatter` + - [ ] Only `BotAdmin` can : + - [ ] target themselves to `promote` / `demote` , in the case that they want to make themselves either a `Mod` or `SupMod` for the channel temporarily + - [ ] `promote admin ` to assign them `BotAdmin` role + - `[ ] Broadcaster` & `BotAdmin` can `demote` a `SupMod` to make them a `Mod` + */ + + + // [ ] Split message based on arguments + + + } BotCommand {