mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-08 21:16:48 +00:00
Move command dispatcher as a standalone filter
This commit is contained in:
@ -7,7 +7,7 @@ from little_shit import get_target
|
||||
from commands import core
|
||||
|
||||
_freq_count = TTLDict(maxsize=10000, ttl=2 * 60 * 60)
|
||||
_max_message_count_per_hour = 150
|
||||
_max_message_count_per_hour = 120
|
||||
|
||||
|
||||
def _limiter(ctx_msg):
|
||||
|
Reference in New Issue
Block a user