https://github.com/discord/airhornbot
The only bot for Discord you'll ever need.
https://github.com/discord/airhornbot
bot
Last synced: 2 months ago
JSON representation
The only bot for Discord you'll ever need.
- Host: GitHub
- URL: https://github.com/discord/airhornbot
- Owner: discord
- Created: 2016-03-05T22:56:46.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-02-20T05:56:09.000Z (4 months ago)
- Last Synced: 2025-04-06T11:06:05.683Z (3 months ago)
- Topics: bot
- Language: TypeScript
- Homepage: https://airhorn.solutions
- Size: 35.3 MB
- Stars: 897
- Watchers: 194
- Forks: 329
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - discord/airhornbot - The only bot for Discord you'll ever need. (TypeScript)
- awesome-discord - airhornbot - commit/discord/airhornbot?style=flat-square) |  |  | The only bot for Discord you'll ever need. | (Bots)
README
# airhornbot
A TypeScript implementation of AIRHORN SOLUTIONS.
# Setup
Prerequisites:
- Postgres Server
- Node.js v18 (and npm)## Website
Build the website for the bot.
Example commands:
```bash
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:
```bash
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:
```bash
cd bot
npm run bot
```To run the web server:
```bash
cd bot
npm run web
```