From 84dc6c7473c4737b727cf4f36c6e4403ab6db06b Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Tue, 10 Mar 2026 01:59:26 +0800 Subject: [PATCH] docs(discord-bot): updated README.md --- services/discord-bot/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/services/discord-bot/README.md b/services/discord-bot/README.md index 1b6e2e466..e95528db1 100644 --- a/services/discord-bot/README.md +++ b/services/discord-bot/README.md @@ -9,6 +9,21 @@ git clone git@github.com:moeru-ai/airi.git pnpm i ``` +In [Discord Developer Portal](https://discord.com/developers/home), create a new application and this will be the bot +you will add to your server. + +In the **"Bot"** tab, find "Privileged Gateway Intents" section, toggle on the following intents: + +- **"Server Members Intent"** +- **"Message Content Intent"** + +Now look above the "Privileged Gateway Intents" section, you will find the "Token" section, +for newly created bots, click "Reset Token" to generate a new token, and copy the token for later use. + +> [!NOTE] +> If you ever forgot the token or lost it, you can always click "Reset Token" to generate a new token, +> but remember to update the token in your `.env.local` file, or configure through the UI as well. + Create a `.env.local` file: ```shell