Skip to main content

NoneBot2 Tailchat 适配器 / Tailchat adapter for nonebot2

Project description

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. 基本信息 内获取 appIdappSecret

暂未支持 消息回调地址

配置方式

.env 文件

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

TAILCHAT_RECONNECT_INTERVAL=5
TAILCHAT_TIME_OUT=5

详细配置项

config.py

相关项目

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_adapter_tailchat-0.1.0b8.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

nonebot_adapter_tailchat-0.1.0b8-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_adapter_tailchat-0.1.0b8.tar.gz.

File metadata

  • Download URL: nonebot_adapter_tailchat-0.1.0b8.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1018-azure

File hashes

Hashes for nonebot_adapter_tailchat-0.1.0b8.tar.gz
Algorithm Hash digest
SHA256 5d365961238844aa73e6a0502bb5f161be98febbaec6f490a175d1cf95f5fd84
MD5 eedfe97ab7571f45676a1ea802d7f7b9
BLAKE2b-256 83e8e2bd0c40d08f792b94a5bb887f5f3607c17b4d01d95e0ae53618951cef52

See more details on using hashes here.

File details

Details for the file nonebot_adapter_tailchat-0.1.0b8-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_adapter_tailchat-0.1.0b8-py3-none-any.whl
Algorithm Hash digest
SHA256 5e42d3e51c485640b3b29b1ac123e4e4f822e3f2cbb7142b028196a7312c7eb4
MD5 378a526e9364c5a7ebc0c7114a7d4854
BLAKE2b-256 0a5f1e8f7b9e8c786f0d0cb18c08a8541945ea59709e5f554c674063fbc9c466

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page