mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-04 12:56:02 +00:00
* fix: wecombot id * feat: add unified webhook for wecom * feat: add support for wecombot,wxoa,slack and qqo * fix: slack adapter * feat: qqo * fix: errors when npm lint * fix: qqo webhook * feat: add wecomcs * fix: modify wecomcs * fix: import errors * feat: add configurable webhook display prefix (#1797) * Initial plan * Add webhook_display_prefix configuration option Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com> * perf: change config field name --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com> Co-authored-by: Junyan Qin <rockchinq@gmail.com> * feat: finish the fxxking line adapter --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Junyan Qin <rockchinq@gmail.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
31 lines
619 B
YAML
31 lines
619 B
YAML
apiVersion: v1
|
|
kind: MessagePlatformAdapter
|
|
metadata:
|
|
name: slack
|
|
label:
|
|
en_US: Slack
|
|
zh_Hans: Slack
|
|
description:
|
|
en_US: Slack Adapter
|
|
zh_Hans: Slack 适配器,请查看文档了解使用方式
|
|
icon: slack.png
|
|
spec:
|
|
config:
|
|
- name: bot_token
|
|
label:
|
|
en_US: Bot Token
|
|
zh_Hans: 机器人令牌
|
|
type: string
|
|
required: true
|
|
default: ""
|
|
- name: signing_secret
|
|
label:
|
|
en_US: signing_secret
|
|
zh_Hans: 密钥
|
|
type: string
|
|
required: true
|
|
default: ""
|
|
execution:
|
|
python:
|
|
path: ./slack.py
|
|
attr: SlackAdapter |