feat: add about command

This commit is contained in:
草师傅 2025-08-02 22:11:14 +08:00
parent 3fb147bcbe
commit 7920ee0567
4 changed files with 51 additions and 1 deletions

View file

@ -19,7 +19,7 @@ from core.promote import handle_promote_command
from core.repeater import MessageRepeater
from core.report_links import report_broken_links
from core.simple import handle_start_command, handle_baka, dummy_handler, handle_info_command, handle_ping_command, \
handle_tips_command
handle_tips_command, handle_about_command
from core.actions import handle_actions, handle_reverse_actions
from core.stats import handle_stats_command
from core.middleware.stats import MessageStatsMiddleware
@ -46,6 +46,7 @@ class TelegramAdapter:
# Register handlers on router
router.message(CommandStart())(handle_start_command)
router.message(Command('info'))(handle_info_command)
router.message(Command('about'))(handle_about_command)
router.message(Command('ping'))(handle_ping_command)
router.message(Command('tips'))(handle_tips_command)
# bitflip 模块