From eb41fede91d072693b279f908976d2ebc2ba1ca3 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Sun, 16 Jan 2022 00:02:56 -0500 Subject: format --- src/commands/meta.rs | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'src/commands/meta.rs') diff --git a/src/commands/meta.rs b/src/commands/meta.rs index d2c5564..917fbfe 100644 --- a/src/commands/meta.rs +++ b/src/commands/meta.rs @@ -13,15 +13,18 @@ pub async fn ping(ctx: Context<'_>) -> Result<(), Error> { #[poise::command(prefix_command, slash_command)] pub async fn about(ctx: Context<'_>) -> Result<(), Error> { let current_version = env!("CARGO_PKG_VERSION"); - - if let Err(e) = ctx.send(|m| { - m.embed(|e| { - e.title("Glitch"); - e - }); - m - }).await { + if let Err(e) = ctx + .send(|m| { + m.embed(|e| { + e.title("Glitch"); + + e + }); + m + }) + .await + { return Err(e.into()); } @@ -29,10 +32,9 @@ pub async fn about(ctx: Context<'_>) -> Result<(), Error> { } #[poise::command(prefix_command, slash_command, context_menu_command = "User Info")] -pub async fn userinfo(ctx: Context<'_>, - #[description = "The user to get info on"] - user: serenity::User, - ) -> Result<(), Error> { - +pub async fn userinfo( + ctx: Context<'_>, + #[description = "The user to get info on"] user: serenity::User, +) -> Result<(), Error> { Ok(()) } -- cgit v1.2.3