Version: 2.6.1
安装飞书适配器
pip install nonebot-adapter-feishu
注册飞书适配器
在 bot.py
中添加:
bot.py
import nonebot
from nonebot.adapters.feishu import Adapter as FeishuAdapter
nonebot.init()
driver = nonebot.get_driver()
driver.register_adapter(FeishuAdapter)
pip install nonebot-adapter-feishu
在 bot.py
中添加:
import nonebot
from nonebot.adapters.feishu import Adapter as FeishuAdapter
nonebot.init()
driver = nonebot.get_driver()
driver.register_adapter(FeishuAdapter)