You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
749 B
35 lines
749 B
|
2 months ago
|
# -*- coding: utf-8 -*-
|
||
|
|
"""
|
||
|
|
===================================
|
||
|
|
命令处理器模块
|
||
|
|
===================================
|
||
|
|
|
||
|
|
包含所有机器人命令的实现。
|
||
|
|
"""
|
||
|
|
|
||
|
|
from bot.commands.base import BotCommand
|
||
|
|
from bot.commands.help import HelpCommand
|
||
|
|
from bot.commands.status import StatusCommand
|
||
|
|
from bot.commands.analyze import AnalyzeCommand
|
||
|
|
from bot.commands.market import MarketCommand
|
||
|
|
from bot.commands.batch import BatchCommand
|
||
|
|
|
||
|
|
# 所有可用命令(用于自动注册)
|
||
|
|
ALL_COMMANDS = [
|
||
|
|
HelpCommand,
|
||
|
|
StatusCommand,
|
||
|
|
AnalyzeCommand,
|
||
|
|
MarketCommand,
|
||
|
|
BatchCommand,
|
||
|
|
]
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
'BotCommand',
|
||
|
|
'HelpCommand',
|
||
|
|
'StatusCommand',
|
||
|
|
'AnalyzeCommand',
|
||
|
|
'MarketCommand',
|
||
|
|
'BatchCommand',
|
||
|
|
'ALL_COMMANDS',
|
||
|
|
]
|