From f0767343e987dbd54a4cf9bf723c3aadba4f1078 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 11 Aug 2023 16:43:05 -0400 Subject: [PATCH] fix: fixed the skip_confirmation check --- shortmute/shortmute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index bdb2bc6..7236768 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -50,7 +50,7 @@ class Shortmute(commands.Cog): else: evidence = None if skip_confirmation is None: - skip_confirmation = await self.config.guild(interaction.guild).confirm() + skip_confirmation = not bool(await self.config.guild(interaction.guild).confirm()) passed_info = { "target": target, "timedelta": timedelta,