From 222df6be1425cab4db5e96ad31dc1feadd2bf0eb Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 16 Mar 2023 19:39:10 +0100 Subject: [PATCH] ded-bugging --- recruitmentCog/recruitment.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recruitmentCog/recruitment.py b/recruitmentCog/recruitment.py index 38ceec1..13114e4 100644 --- a/recruitmentCog/recruitment.py +++ b/recruitmentCog/recruitment.py @@ -34,7 +34,10 @@ class Recruitment(commands.Cog): self.antispam[guild_id] = AntiSpam([(5, 5), (30, 10), (300, 20)]) antispam = self.antispam[guild_id] - return not antispam.spammy(ctx) + if antispam.spammy(ctx): + return False + + return True @commands.guild_only() @checks.admin_or_permissions(manage_guild=True)