Add the skip command and remove the unused commands folder

This commit is contained in:
2025-08-14 13:42:36 -03:00
parent 09ed3b870e
commit 55431d580e
4 changed files with 97 additions and 1 deletions
+2 -1
View File
@@ -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)