rewrite shell command

This commit is contained in:
yanyongyu
2021-02-02 11:59:14 +08:00
parent c8ebaf38b6
commit 9e4e9f29d1
6 changed files with 212 additions and 50 deletions

View File

@ -37,6 +37,23 @@ class IgnoredException(NoneBotException):
return self.__repr__()
class ParserExit(NoneBotException):
"""
:说明:
``shell command`` 处理消息失败时返回的异常
:参数:
* ``status``
* ``message``
"""
def __init__(self, status=0, message=None):
self.status = status
self.message = message
class PausedException(NoneBotException):
"""
:说明: