mirror of
https://github.com/Dummi26/mcdcbot.git
synced 2025-03-10 05:13:53 +01:00
add run_command
This commit is contained in:
parent
b5c31fd589
commit
b68361e9f5
@ -238,7 +238,7 @@ async fn main() {
|
||||
// start
|
||||
let framework = poise::Framework::builder()
|
||||
.options(poise::FrameworkOptions {
|
||||
commands: vec![list(), start(), stop()],
|
||||
commands: vec![list(), start(), stop(), run_command()],
|
||||
event_handler: |ctx, event, framework, data| {
|
||||
Box::pin(event_handler(ctx, event, framework, data))
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user