From 3df314d30cfa0f72a33d2d30c3e5da5a200ec49f Mon Sep 17 00:00:00 2001 From: Joey Pollack Date: Tue, 28 May 2024 13:18:31 -0400 Subject: [PATCH] minor format adjustments --- src/main.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index efe578a..6ba324b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,8 +41,7 @@ impl EventHandler for Handler // events can be dispatched simultaneously. async fn message(&self, ctx: Context, msg: Message) { - commands::parse(ctx, msg).await; - + commands::parse(ctx, msg).await; } async fn reaction_add(&self, ctx: Context, add_reaction: Reaction) @@ -124,9 +123,9 @@ async fn main() }; // Fetch the application owner id - let http = Http::new(&token); - let owner = match http.get_current_application_info().await - { + let http = Http::new(&token); + let owner = match http.get_current_application_info().await + { Ok(info) => info.owner.id, Err(why) => panic!("Could not access application info: {:?}", why), };