what happened

This commit is contained in:
unknown 2023-03-16 19:22:26 +01:00
parent 49d9855772
commit 509b066091

View File

@ -30,7 +30,7 @@ class Recruitment(commands.Cog):
async def cog_check(self, ctx: commands.Context): async def cog_check(self, ctx: commands.Context):
if ctx.guild.id not in self.antispam: if ctx.guild.id not in self.antispam:
self.antispam[ctx.guild.id] = AntiSpam(ctx.guild) self.antispam[ctx.guild.id] = AntiSpam([(5, 5), (30, 10), (300, 20)])
if self.antispam[ctx.guild.id].spammy(ctx): if self.antispam[ctx.guild.id].spammy(ctx):
return False return False