Add bot::command::clap
This commit is contained in:
parent
84b742ee6e
commit
4dcc021f73
4 changed files with 189 additions and 7 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue