forked from DiscordBots/Rustendo
feat: started to impl queue system
This commit is contained in:
parent
a16d8a6b60
commit
a06299fb6f
9 changed files with 134 additions and 54 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue