mirror of
https://github.com/solero/houdini.git
synced 2024-11-24 14:37:22 +00:00
Always throw CooldownError
even when cooldown has a callback
This commit is contained in:
parent
c1bd04fe3a
commit
94a7a963a7
@ -58,7 +58,6 @@ class _ArgumentDeserializer:
|
||||
await self.cooldown.callback(self.instance, p)
|
||||
else:
|
||||
await self.cooldown.callback(p)
|
||||
else:
|
||||
raise CooldownError(f'{p} invoked listener during cooldown')
|
||||
|
||||
def _check_list(self, p):
|
||||
|
Loading…
Reference in New Issue
Block a user