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.0b13.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: nonebot_adapter_tailchat-0.1.0b13.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for nonebot_adapter_tailchat-0.1.0b13.tar.gz
Algorithm Hash digest
SHA256 4fa20baa27ce6740772e20c3074012cfedb8cdfa92616f9277f91c6413a4079c
MD5 1141008a94076b20a98eb0f56118641b
BLAKE2b-256 eee8a08381847fd7f554f8dce8f8f168854eb36eb3be2a5c7c814325194417c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_adapter_tailchat-0.1.0b13-py3-none-any.whl
Algorithm Hash digest
SHA256 f4877a4b47b908e3bd1a3f4fd665cba30711dc8ff30101e2922a61e0b82f9e86
MD5 757b7015b75d1ddb656390a0377f69d1
BLAKE2b-256 9e663c8afaf67a3144a65ea921676f2e50a447efc1ea0490ee5af4af9345df89

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