Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/discord/airhornbot
The only bot for Discord you'll ever need.
https://github.com/discord/airhornbot
bot
Last synced: 2 days 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 (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2024-12-05T23:01:47.000Z (about 1 month ago)
- Last Synced: 2025-01-02T23:05:21.760Z (9 days ago)
- Topics: bot
- Language: TypeScript
- Homepage: https://airhorn.solutions
- Size: 35.1 MB
- Stars: 890
- Watchers: 192
- Forks: 327
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - discord/airhornbot - The only bot for Discord you'll ever need. (TypeScript)
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
```