parentact to ExecBodyParams
This commit is contained in:
parent
203f6af869
commit
7e5e43fec3
4 changed files with 58 additions and 21 deletions
src
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue