Add bot::command::clap

This commit is contained in:
Joscha 2023-01-24 14:12:50 +01:00
parent 84b742ee6e
commit 4dcc021f73
4 changed files with 189 additions and 7 deletions

View file

@ -166,6 +166,7 @@ impl<B> Commands<B> {
};
let mut ctx = Context {
name: cmd_name.to_string(),
kind: Kind::Global,
config: config.clone(),
conn_tx: snapshot.conn_tx.clone(),