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: about 1 month 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 8 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T05:30:02.000Z (about 2 months ago)
- Last Synced: 2024-09-27T00:43:45.235Z (about 1 month ago)
- Topics: bot
- Language: TypeScript
- Homepage: https://airhorn.solutions
- Size: 36 MB
- Stars: 888
- Watchers: 190
- Forks: 328
- 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
```