parentact to ExecBodyParams

This commit is contained in:
ModulatingForce 2024-03-24 15:46:08 -04:00
commit 7e5e43fec3
4 changed files with 58 additions and 21 deletions

View file

@ -33,7 +33,11 @@ pub async fn main() {
for acts in (*actsdb_lock).values() {
for act in acts {
let outstr = match act {
let act_prelock = act;
let act = act_prelock.read().await;
let outstr = match &(*act) {
botmodules::BotAction::C(b) => {
format!("bot actions > Command : {}", b.command)
}