apiVersion: v1
kind: MessagePlatformAdapter
metadata:
  name: kook
  label:
    en_US: KOOK
    zh_Hans: KOOK
    zh_Hant: KOOK
  description:
    en_US: KOOK Adapter (formerly KaiHeiLa)
    zh_Hans: KOOK 适配器(原开黑啦)，支持频道消息和私聊消息
    zh_Hant: KOOK 適配器（原開黑啦），支援頻道訊息和私聊訊息
  icon: kook.png
spec:
  categories:
    - china
  help_links:
    zh: https://link.langbot.app/zh/platforms/kook
    en: https://link.langbot.app/en/platforms/kook
    ja: https://link.langbot.app/ja/platforms/kook
  config:
    - name: token
      label:
        en_US: Bot Token
        zh_Hans: 机器人令牌
        zh_Hant: 機器人令牌
      type: string
      required: true
      default: ""
execution:
  python:
    path: ./kook.py
    attr: KookAdapter
