feat: started to impl queue system

This commit is contained in:
moonleay 2024-03-09 00:25:12 +01:00
parent a16d8a6b60
commit a06299fb6f
Signed by: moonleay
GPG key ID: 82667543CCD715FB
9 changed files with 134 additions and 54 deletions

View file

@ -5,7 +5,7 @@ use crate::music::music_manager;
use crate::util::embed::Embed;
pub async fn run(ctx: &Context, command: &CommandInteraction) -> CreateEmbed {
pub async unsafe fn run(ctx: &Context, command: &CommandInteraction) -> CreateEmbed {
let username = command.user.name.as_str();
let options = &command.data.options;

View file

@ -3,7 +3,7 @@ use serenity::builder::{CreateCommand, CreateEmbed};
use crate::music::music_manager;
use crate::util::embed::Embed;
pub async fn run(ctx: &Context, command: &CommandInteraction) -> CreateEmbed {
pub async unsafe fn run(ctx: &Context, command: &CommandInteraction) -> CreateEmbed {
let username = command.user.name.as_str();
let guild_id = match &command.guild_id {