forked from DiscordBots/Rustendo
Merge branch 'fix/music-queue-improvements'
This commit is contained in:
commit
ed89386ed9
8 changed files with 86 additions and 75 deletions
|
@ -6,7 +6,7 @@ use crate::util::embed::Embed;
|
|||
pub async fn run(_ctx: &Context, command: &CommandInteraction) -> CreateEmbed {
|
||||
let username = command.user.name.as_str();
|
||||
|
||||
Embed::create_success_response(username, "Botendo v7", "developed by [moonleay](https://moonleay.net)\n\nCheck out the repository: https://git.moonleay.net/DiscordBots/Rustendo")
|
||||
Embed::create_success_response(username, "Botendo v7", "developed by [moonleay](https://moonleay.net)\n\nCheck out the repository: https://git.moonleay.net/DiscordBots/Rustendo")
|
||||
}
|
||||
|
||||
pub fn register() -> CreateCommand {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
pub mod info;
|
||||
pub mod play;
|
||||
pub mod skip;
|
||||
pub mod stop;
|
||||
pub mod skip;
|
|
@ -6,7 +6,7 @@ use serenity::model::application::CommandOptionType;
|
|||
|
||||
use crate::util::embed::Embed;
|
||||
|
||||
pub async unsafe fn run(ctx: &Context, command: &CommandInteraction) -> CreateEmbed {
|
||||
pub async fn run(ctx: &Context, command: &CommandInteraction) -> CreateEmbed {
|
||||
let username = command.user.name.as_str();
|
||||
let options = &command.data.options;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ use crate::util::embed::Embed;
|
|||
use serenity::all::{CommandInteraction, Context};
|
||||
use serenity::builder::{CreateCommand, CreateEmbed};
|
||||
|
||||
pub async unsafe fn run(ctx: &Context, command: &CommandInteraction) -> CreateEmbed {
|
||||
pub async 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