rename filter.py to sieve.py
This commit is contained in:
parent
4b749762cd
commit
6467e67402
|
@ -3,7 +3,7 @@ import re
|
|||
import hook
|
||||
|
||||
@hook.sieve
|
||||
def filter_suite(bot, input, func, args):
|
||||
def sieve_suite(bot, input, func, args):
|
||||
args.setdefault('events', ['PRIVMSG'])
|
||||
|
||||
if input.command not in args['events']:
|
Loading…
Reference in New Issue