Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

nonebot

Nonebot Adapter Tailchat

Tailchat 适配器

License Python NoneBot Tailchat

环境要求

  • Tailchat >= 1.11.3
    • api: getMessage
  • Python 3.9+
  • NoneBot 2.3.0+
  • pydantic >= 2.0.0
  • HTTPClient驱动器
    • 默认需要,除非 useHttp=False, 且配置了 jwt

    • ~httpx
    • ~aiohttp

Tailchat机器人开启方式

  1. 安装 开放平台插件
  2. 进入 设置 -> 开放平台 -> 创建应用 -> 填写基本信息
  3. 进入 应用 -> 机器人 -> 开启机器人能力
  4. 在 基本信息 内获取 appId 和 appSecret

暂未支持 消息回调地址

配置方式

.env 文件

TAILCHAT_BOTS='
[
  {
    "url": "https://xxxxxxx/",
    "appId": "ts_******",
    "appSecret": "****"
  }
]
'

TAILCHAT_RECONNECT_INTERVAL=5
TAILCHAT_TIME_OUT=5

详细配置项

config.py

相关项目

Metadata

Release files for nonebot-adapter-tailchat 0.1.0b13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-adapter-tailchat 0.1.0b13
File Size Uploaded
nonebot_adapter_tailchat-0.1.0b13.tar.gz 28.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-adapter-tailchat 0.1.0b13
File Interpreter ABI Platform
nonebot_adapter_tailchat-0.1.0b13-py3-none-any.whl Python 3 none any Details

Total release size: 61.1 kB

Release files / nonebot_adapter_tailchat-0.1.0b13.tar.gz

Download URL nonebot_adapter_tailchat-0.1.0b13.tar.gz
Size 28.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4fa20baa27ce6740772e20c3074012cfedb8cdfa92616f9277f91c6413a4079c
BLAKE2b-256 checksum
How to use checksums
eee8a08381847fd7f554f8dce8f8f168854eb36eb3be2a5c7c814325194417c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

Release files / nonebot_adapter_tailchat-0.1.0b13-py3-none-any.whl

Download URL nonebot_adapter_tailchat-0.1.0b13-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4877a4b47b908e3bd1a3f4fd665cba30711dc8ff30101e2922a61e0b82f9e86
BLAKE2b-256 checksum
How to use checksums
9e663c8afaf67a3144a65ea921676f2e50a447efc1ea0490ee5af4af9345df89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page