mirror of
https://github.com/eRgo35/lyra.git
synced 2026-02-04 04:16:11 +01:00
updated packages and closing #2
Signed-off-by: Michael Czyż <mike@c2yz.com>
This commit is contained in:
763
Cargo.lock
generated
763
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user