(cont) cleanup

(cont)

(cont)

(cont)
This commit is contained in:
ModulatingForce 2024-03-02 12:21:18 -05:00
commit e86b051ff3
6 changed files with 124 additions and 1298 deletions

View file

@ -20,7 +20,7 @@ pub async fn main() {
let bot = BotInstance::init().await;
{
botlog::debug("Reading bot actions", Some("main()".to_string()), None);
botlog::trace("Reading bot actions", Some("main()".to_string()), None);
let actsdb = Arc::clone(&bot.botmodules.botactions);
let actsdb_lock = actsdb.read().await;
@ -29,10 +29,10 @@ pub async fn main() {
for act in acts {
let outstr = match act {
botmodules::BotAction::C(b) => {
format!("bot actions: {}", b.command)
format!("bot actions > Command : {}", b.command)
}
botmodules::BotAction::L(l) => {
format!("bot actions: {}", l.name)
format!("bot actions > Listener : {}", l.name)
}
_ => "Not a valid match??".to_string(),
};