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

Uploaded Source

Built Distribution

File details

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

File metadata

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

File hashes

Hashes for nonebot_adapter_tailchat-0.1.0b3.tar.gz
Algorithm Hash digest
SHA256 fbd959b0fa323b423424ca615b3e2e98dbbae9bf80c3dd2bba8c0885c7e8c386
MD5 04026d7d34f76711c8c508c31d59f0df
BLAKE2b-256 a32672476bd56cbfc5b596d5fcc01d404994a6ce5b363237998b469489cee39a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_adapter_tailchat-0.1.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 f29f23c7c9e6b21ef64b4a0ee4e24ef6b8f4fcea40345494448c65ac3d3b67af
MD5 eb328d3f0f7dc84b47b8a7cb26a9a372
BLAKE2b-256 56a75611ca36193b143b9c8601ef9be1c545afd45a7b04fd2e7549e9e35db58b

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