updated packages and closing #2

Signed-off-by: Michael Czyż <mike@c2yz.com>
This commit is contained in:
2024-05-18 23:46:25 +02:00
parent 9474577233
commit fc42427437
2 changed files with 433 additions and 340 deletions

763
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -12,8 +12,14 @@ use serenity::{
}; };
use songbird::{input::AuxMetadata, tracks::TrackHandle}; use songbird::{input::AuxMetadata, tracks::TrackHandle};
/// Skips the currently playing song /// Skips the currently playing song; \
#[poise::command(prefix_command, slash_command, category = "Music")] /// aliases: skip, :skipper:
#[poise::command(
prefix_command,
slash_command,
aliases("skipper:"),
category = "Music"
)]
pub async fn skip(ctx: Context<'_>) -> Result<(), Error> { pub async fn skip(ctx: Context<'_>) -> Result<(), Error> {
let guild_id = ctx.guild_id().unwrap(); let guild_id = ctx.guild_id().unwrap();