Add the skip command and remove the unused commands folder
This commit is contained in:
+2
-1
@@ -120,7 +120,7 @@ use crate::{
|
||||
groups::{
|
||||
about::{commands::HelpCommand, components::HelpGoBackButton},
|
||||
calls::{
|
||||
commands::{CallCommand, HangupCommand},
|
||||
commands::{CallCommand, HangupCommand, SkipCommand},
|
||||
events::MessageRedirector,
|
||||
},
|
||||
gateway::events::{ReadyHandler, ReconnectHandler},
|
||||
@@ -190,6 +190,7 @@ async fn start(token: String, database_addr: String) {
|
||||
.intent(Intents::MESSAGE_CONTENT)
|
||||
.command(HelpCommand)
|
||||
.command(CallCommand::new())
|
||||
.command(SkipCommand)
|
||||
.command(HangupCommand)
|
||||
.component(HelpGoBackButton)
|
||||
.on_ready(ReadyHandler)
|
||||
|
||||
Reference in New Issue
Block a user