Skip to content
AstrBot
Main Navigation HomeBlogRoadmapHTTP API

English

简体中文

English

简体中文

Toggle dark mode

Intro & DeployMessaging PlatformsAI IntegrationUsageDevelopment
Sidebar Navigation

Introduction

What is AstrBot

Community

FAQ

Deployment

Package Manager

One-click Launcher

Docker

Kubernetes

BT Panel

1Panel

Manual

Other Deployments

CasaOS

Compshare GPU

Community-provided Deployment

Support Us

Messaging Platforms

Quick Start

QQ Official Bot

Websockets

Webhook

OneBot v11

NapCat

Lagrange

Other Clients

WeCom Application

WeCom AI Bot

WeChat Official Account

Lark

DingTalk

Telegram

LINE

Slack

Misskey

Discord

Satori

Using LLOneBot

Using server-satori

Community-provided

Matrix

KOOK

VoceChat

AI Integration

✨ Model Providers

NewAPI

AIHubMix

PPIO Cloud

SiliconFlow

TokenPony

302.AI

Ollama

LMStudio

⚙️ Agent Runners

Built-in Agent Runner

Dify

Coze

Alibaba Bailian

DeerFlow

Usage

WebUI

Plugins

Built-in Commands

Tool Use

Anthropic Skills

SubAgent Orchestration

Proactive Tasks

MCP

Web Search

Knowledge Base

Custom Rules

Agent Runner

Unified Webhook Mode

Auto Context Compression

Agent Sandbox

Development

Plugin Development

🌠 Getting Started

Minimal Example

Listen to Message Events

Send Messages

Plugin Configuration

AI

Storage

HTML to Image

Session Control

Publish Plugin

Platform Adapter Integration

AstrBot HTTP API

AstrBot Configuration File

Others

Self-hosted HTML to Image

Open Source Summer

OSPP 2025

On this page

Connect to KOOK ​

Supported Message Types ​

Version v4.19.2

Message TypeReceiveSendRemarks
TextYesYesSupports official kmarkdown syntax
ImageYesYesSupports external links; jpeg, gif, png only
AudioYesYesSupports external links
VideoYesYesSupports external links; mp4, mov only
FileYesYesSupports external links
Card (JSON)YesYesSee Kook Docs - Card Messages

Proactive message push: Supported
Message receiving mode: WebSocket

Create a Bot on Kook ​

  1. Go to the Kook Developer Center and follow these steps:

  2. Log in and complete identity verification.

  3. Click "Create Application" and customize your Bot's nickname.

  4. Enter the application dashboard, select the Bot module, and enable WebSocket connection mode. Make sure to save the generated Token, as you will need it for the subsequent AstrBot configuration.

  5. Under the "Bot" page in the left sidebar, click "Invite Link" and set the role permissions (full permissions are recommended to ensure all features work).

  6. Copy the invite link, open it in your browser, and add the bot to your desired server.

    image

Configure in AstrBot ​

  1. Access the AstrBot management panel.

  2. Click Bots in the left sidebar.

  3. Click + Create Bot on the right side of the interface.

  4. Select the kook adapter.

  5. Fill in the configuration fields:

    • ID (id): Any name to identify this specific instance.
    • Enable (enable): Check the box.
    • Bot Token: Paste the Token generated from the Kook Developer Center.
  6. Click Save after filling in the details.

  7. Finally, in a Kook server channel (create one first if you haven't), @ the bot and type /sid. If the bot responds, the configuration is successful.

Edit this page on GitHub

Last updated:

Pager
PreviousMatrix
NextVoceChat

Deployed on Rainyun Logo