Add some commands

This commit is contained in:
Richard Chien
2016-12-30 22:01:50 +08:00
parent e14b74cf2f
commit c62fafa69e
15 changed files with 407 additions and 46 deletions

View File

@ -10,5 +10,5 @@ def apply_filters(ctx_msg):
return True
def add_filter(func, priority):
def add_filter(func, priority=0):
_filters.append((priority, func))