From 227ab7545528280fcf0ac2063559486c0c565e37 Mon Sep 17 00:00:00 2001 From: jamesbt365 Date: Tue, 5 Nov 2024 15:56:00 +0000 Subject: [PATCH] fix indentation --- macros/src/command/prefix.rs | 2 +- macros/src/command/slash.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/macros/src/command/prefix.rs b/macros/src/command/prefix.rs index e79c57d37ce..47ad4bf83a4 100644 --- a/macros/src/command/prefix.rs +++ b/macros/src/command/prefix.rs @@ -64,7 +64,7 @@ pub fn generate_prefix_action(inv: &Invocation) -> Result Result>::to_action(|ctx, value| { Box::pin(async move { let is_framework_cooldown = !ctx.command.manual_cooldowns - .unwrap_or_else(|| ctx.framework.options.manual_cooldowns); + .unwrap_or_else(|| ctx.framework.options.manual_cooldowns); if is_framework_cooldown { ctx.command.cooldowns.lock().unwrap().start_cooldown(ctx.cooldown_context());