Skip to content

Integrating KOOK Bot

Create a Bot

Visit the KOOK Developer Center, log in and access the console.

KOOK Developer Console

Click "Create Application" and fill in the application information.

Create Application

After the application is created, enter the application details page.

Application Created

You can view the basic information of the application on the application overview page.

Application Overview

Get Bot Token

In the application page, click the "Bot" tab, copy the Bot Token and save it securely. You will need it later.

Get Bot Token

Configure Bot Permissions

Important: In the "Bot" settings, find the "Message Filtering" option and click to configure.

Message Filter Settings

Enable all message-related event permissions, including channel messages and private message events. Otherwise, the bot will not be able to receive messages.

Enable Permissions

Invite the Bot

In the bot settings page, you can generate an invitation link to invite the bot to your server.

Generate Invitation Link

Connect to LangBot

Open the LangBot Webui page, and click to create a new bot on the "Bots" page.

LangBot Bot Management

Select the KOOK platform, fill in the bot name and Bot Token.

Configure KOOK Bot

After saving, the bot will appear in the list.

Bot Created

Click the enable button to start the bot. If successfully configured, the bot status will show as running.

Bot Enabled

Using the Bot

Now in the KOOK server, the bot can receive and reply to messages normally. The bot supports both channel messages and private messages.