MCPcopy Index your code
hub / github.com/discord/airhornbot

github.com/discord/airhornbot @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
128 symbols 254 edges 51 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

airhornbot

A TypeScript implementation of AIRHORN SOLUTIONS.

Setup

Prerequisites:

  • Postgres Server
  • Node.js v22+ (and npm)

Website

Build the website for the bot.

Example commands:

cd website
npm install
cp .env.example .env
# Edit the .env file to have the correct values for your setup
npm run build

Bot

Build the bot and web server process.

Example commands:

cd bot
npm install
cp .env.example .env
# Edit the .env file to have the correct values for your setup
npx prisma generate
npm run build
npx prisma migrate deploy

To run the bot:

cd bot
npm run bot

To run the web server:

cd bot
npm run web

Core symbols most depended-on inside this repo

dispatch
called by 10
website/src/dispatcher.ts
subscribe
called by 5
website/src/dispatcher.ts
validateEmoji
called by 4
bot/src/utils/EmojiValidator.ts
generateRegisterCommandsBody
called by 3
bot/src/utils/RegisterCommandsUtils.ts
registerGlobalChatInputCommand
called by 3
bot/src/discord/listeners/InteractionCreateListener.ts
getTotalUnique
called by 3
bot/src/routes/ApiEventsRoute.ts
open
called by 3
website/src/stores/ShareStore.ts
redirectedFromOAuth
called by 3
website/src/stores/OAuthStore.ts

Shape

Function 66
Method 40
Class 22

Languages

TypeScript100%

Modules by API surface

website/src/stores/AirhornStatsStore.ts14 symbols
website/src/stores/OAuthStore.ts10 symbols
website/src/components/Layout.tsx8 symbols
website/src/components/Content.tsx7 symbols
website/src/stores/ShareStore.ts6 symbols
website/src/stores/ResponsiveStore.ts6 symbols
bot/src/utils/QueueHandler.ts6 symbols
website/src/dispatcher.ts4 symbols
website/src/components/ResizableSVG.tsx4 symbols
website/src/actions/OAuthActions.ts4 symbols
bot/src/utils/AirhornAudio.ts4 symbols
bot/src/discord/listeners/ShardListener.ts4 symbols

For agents

$ claude mcp add airhornbot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page