format and restructure, began working on schedule
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
use serenity::{all::{CommandInteraction, CreateCommand}, prelude::*};
|
||||
use serenity::{
|
||||
all::{CommandInteraction, CreateCommand},
|
||||
prelude::*,
|
||||
};
|
||||
|
||||
use super::{get_songbird, create_response, edit_response};
|
||||
|
||||
@@ -13,7 +16,12 @@ pub async fn run(ctx: &Context, command: &CommandInteraction) {
|
||||
let guild_id = match &command.guild_id {
|
||||
Some(guild_id) => guild_id,
|
||||
None => {
|
||||
edit_response(&ctx, &command, "Unable to find the current server ID".to_string()).await;
|
||||
edit_response(
|
||||
&ctx,
|
||||
&command,
|
||||
"Unable to find the current server ID".to_string(),
|
||||
)
|
||||
.await;
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user