NoneBot2 Tailchat 适配器 / Tailchat adapter for nonebot2
Project description
环境要求
- Tailchat >= 1.11.3
- api:
getMessage
- api:
- Python 3.9+
- NoneBot 2.3.0+
- pydantic >= 2.0.0
- HTTPClient驱动器
-
默认需要,除非
useHttp=False
, 且配置了jwt
- ~httpx
- ~aiohttp
-
Tailchat机器人开启方式
- 安装
开放平台插件
- 进入
设置
->开放平台
->创建应用
->填写基本信息
- 进入
应用
->机器人
->开启机器人能力
- 在
基本信息
内获取appId
和appSecret
暂未支持
消息回调地址
配置方式
.env
文件
TAILCHAT_BOTS='
[
{
"url": "https://xxxxxxx/",
"appId": "ts_******",
"appSecret": "****"
}
]
'
TAILCHAT_RECONNECT_INTERVAL=5
TAILCHAT_TIME_OUT=5
详细配置项
相关项目
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot_adapter_tailchat-0.1.0b12.tar.gz
.
File metadata
- Download URL: nonebot_adapter_tailchat-0.1.0b12.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31a945cbe3c98f5bb2871401f8abb6e6e8a3e76d919318a7f3a75b31cb31dbda |
|
MD5 | 7272c09f5dd4344c673d3cf84e44ef2d |
|
BLAKE2b-256 | ddb7ea8366bc0edd9cb0b10007c6daf1b01f7762bd27a3ff34ae1db7d4959c0b |
File details
Details for the file nonebot_adapter_tailchat-0.1.0b12-py3-none-any.whl
.
File metadata
- Download URL: nonebot_adapter_tailchat-0.1.0b12-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edf38a2f9573cd03074d19bd39d33009498e9221c1deefabc2845acdb225f479 |
|
MD5 | 520a576df4313ff730360f767b2660a1 |
|
BLAKE2b-256 | a7f6f7916eeb2e5e34ba621e82c4e1d98812c215fc01829979d40053fb2e3807 |