reformatting

This commit is contained in:
2024-01-30 15:20:39 +01:00
parent a5a9779cb9
commit 0973dbc725
5 changed files with 29 additions and 26 deletions

View File

@@ -19,12 +19,15 @@ async fn leave(ctx: &Context, msg: &Message) -> CommandResult {
if has_handler {
if let Err(err) = manager.remove(guild_id).await {
check_msg(msg.channel_id.say(&ctx.http, format!("Failed: {:?}", err)).await);
check_msg(
msg.channel_id
.say(&ctx.http, format!("Failed: {:?}", err))
.await,
);
}
check_msg(msg.channel_id.say(&ctx.http, "Left voice channel").await);
}
else {
} else {
check_msg(msg.reply(ctx, "Not in a voice channel").await);
}