announce /skip and /loop commands
All checks were successful
tests / fmt (push) Successful in 2m15s
tests / pre-commit (push) Successful in 2m24s
tests / clippy (push) Successful in 2m26s
tests / build (push) Successful in 2m31s
tests / test (push) Successful in 2m48s
deploy / release-image (push) Successful in 16m8s

This commit is contained in:
2024-06-17 15:40:49 +02:00
parent cabae9ea19
commit 3781785a50

View File

@@ -35,12 +35,14 @@ pub(crate) fn get_chat_commands() -> Vec<twilight_model::application::command::C
vec![ vec![
CommandBuilder::new("join", "Join the channel", CommandType::ChatInput).build(), CommandBuilder::new("join", "Join the channel", CommandType::ChatInput).build(),
CommandBuilder::new("leave", "Leave the channel", CommandType::ChatInput).build(), CommandBuilder::new("leave", "Leave the channel", CommandType::ChatInput).build(),
CommandBuilder::new("loop", "Loop queue", CommandType::ChatInput).build(),
CommandBuilder::new("skip", "Skip track", CommandType::ChatInput).build(),
CommandBuilder::new("queue", "Print track queue", CommandType::ChatInput).build(),
CommandBuilder::new("stop", "Stop playing", CommandType::ChatInput).build(),
CommandBuilder::new("pause", "Pause playing", CommandType::ChatInput).build(), CommandBuilder::new("pause", "Pause playing", CommandType::ChatInput).build(),
CommandBuilder::new("resume", "Resume playing", CommandType::ChatInput).build(),
CommandBuilder::new("play", "Add a song to the queue", CommandType::ChatInput) CommandBuilder::new("play", "Add a song to the queue", CommandType::ChatInput)
.option(StringBuilder::new("query", "URL of a song").required(true)) .option(StringBuilder::new("query", "URL of a song").required(true))
.build(), .build(),
CommandBuilder::new("queue", "Print track queue", CommandType::ChatInput).build(),
CommandBuilder::new("resume", "Resume playing", CommandType::ChatInput).build(),
CommandBuilder::new("stop", "Stop playing", CommandType::ChatInput).build(),
] ]
} }