Skip to main content

NoneBot2 Tailchat 适配器 / Tailchat adapter for nonebot2

Project description

nonebot

Nonebot Adapter Tailchat

Tailchat 适配器

License Python NoneBot

环境要求

  • 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.0b6.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: nonebot_adapter_tailchat-0.1.0b6.tar.gz
  • Upload date:
  • Size: 25.6 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.0b6.tar.gz
Algorithm Hash digest
SHA256 a4fc3d2c8e29acb45ae19a2a69531b9e914c35989871f30497dd738a13d07e3d
MD5 b18495b6b5a5e866d64fba8959e53af3
BLAKE2b-256 729480f8f634cc3af3842921c0b9f73bd1ce0aee0c113691d52fbb8d278229ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_adapter_tailchat-0.1.0b6-py3-none-any.whl
Algorithm Hash digest
SHA256 0b3770f3c5bab73dc3b1fb75716828d68d6435f55d260227534b3da8f99fb0e3
MD5 2b2ab224a5b0d26549983e143b5a8387
BLAKE2b-256 c94b2baec790c042ed7aa5cbedd6c1fb2fc0f12c471f76539a5c056778e67091

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