"""注册所有 handlers"""
from telegram.ext import Application

from .welcome import register_welcome
from .verify import register_verify
from .spam import register_spam
from .night_mode import register_night_mode
from .knowledge import register_knowledge
from .fun import register_fun
from .bind import register_bind
from .admin import register_admin


def register_all(app: Application):
    """注册所有消息/命令 handler"""
    register_admin(app)
    register_knowledge(app)
    register_bind(app)
    register_fun(app)
    register_night_mode(app)
    register_verify(app)
    register_welcome(app)
    register_spam(app)  # 最后注册，作为兜底
