From e39e2d3e2d66618a4cfab0727302a2f8ec28020d Mon Sep 17 00:00:00 2001 From: Xminent Date: Mon, 11 Dec 2023 14:52:46 -0600 Subject: [PATCH] refactor: :fire: remove debug/info logs for about command --- commands/Misc/about.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/commands/Misc/about.cpp b/commands/Misc/about.cpp index c88231c..f42ce5c 100644 --- a/commands/Misc/about.cpp +++ b/commands/Misc/about.cpp @@ -28,19 +28,12 @@ struct About : Command { }) {} void setup() override { - bot->logger->info("Setting up About command"); - bot->http.get_user(bot->owner_id) .send() .map([this](const ekizu::User &owner) { - bot->logger->info( - "Fetched owner: {} from the API", owner.username); bot->users_cache.put(owner.id, owner); bot->http.get_current_user().send().map( [this, &owner](const ekizu::User &user) { - bot->logger->info( - "Fetched our own user: {} from the API", - user.username); bot->users_cache.put(user.id, user); about_embed = @@ -69,8 +62,6 @@ struct About : Command { {fmt::format("Made by {}", owner.username), owner.display_avatar_url()}) .build(); - - bot->logger->info("About command setup complete"); }); }); }