mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-28 00:31:14 +00:00
add http api
This commit is contained in:
@ -11,7 +11,12 @@ from nonebot.config import Config
|
||||
class BaseBot(abc.ABC):
|
||||
|
||||
@abc.abstractmethod
|
||||
def __init__(self, type: str, config: Config, *, websocket=None):
|
||||
def __init__(self,
|
||||
type: str,
|
||||
config: Config,
|
||||
self_id: int,
|
||||
*,
|
||||
websocket=None):
|
||||
raise NotImplementedError
|
||||
|
||||
@abc.abstractmethod
|
||||
|
Reference in New Issue
Block a user