mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-10-30 14:36:41 +00:00
add fastapi routes, adapters
This commit is contained in:
8
nonebot/adapters/__init__.py
Normal file
8
nonebot/adapters/__init__.py
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
class BaseBot(object):
|
||||
|
||||
def __init__(self):
|
||||
raise NotImplementedError
|
||||
10
nonebot/adapters/coolq.py
Normal file
10
nonebot/adapters/coolq.py
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from nonebot.adapters import BaseBot
|
||||
|
||||
|
||||
class Bot(BaseBot):
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
Reference in New Issue
Block a user