Files
nanakura dc26878386
CI / Lint (push) Canceled after 0s
CI / Build Test (stage-web) (push) Canceled after 0s
CI / Build Test (ui-loading-screens) (push) Canceled after 0s
CI / Build Test (ui-transitions) (push) Canceled after 0s
CI / Unit Test (push) Canceled after 0s
CI / Type Check (push) Canceled after 0s
CI / Check Provenance (push) Canceled after 0s
Sync Labels / sync-labels (push) Successful in 1m43s
chore: prune unused apps and services for the moeka fork
- Remove stage-tamagotchi, stage-pocket, server, and engine workspaces with their workflows, addons, and docs
- Switch the toolchain from pnpm to bun, replace lockfiles with bun.lock
- Rewrite remaining product references to Moeka
2026-09-14 16:40:49 +07:00
..

discord-bot

Allow アイリ to talk to you and many other users in Discord voice channels.

Getting started

git clone git@github.com:moeru-ai/airi.git
bun install

In Discord Developer Portal, 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:

cd integrations/discord-bot
cp .env .env.local

Fill-in the following credentials as configurations:

DISCORD_TOKEN=''
DISCORD_BOT_CLIENT_ID=''

OPENAI_MODEL=''
OPENAI_API_KEY=''
OPENAI_API_BASE_URL=''

ELEVENLABS_API_KEY=''
ELEVENLABS_API_BASE_URL=''
bun run --filter @proj-airi/discord-bot start

Other similar projects

Acknowledgements