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