ded-bugging
This commit is contained in:
parent
c54cbd5a05
commit
222df6be14
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user