Learn how to integrate Jotihunt with Discord using either a full bot or simple webhooks
Discord Bot
Webhook Integration
Option 1: Full Discord Bot
Create a Discord Application
Set Up the Project
Create Basic Bot Structure
bot.js
:.env
file:.env
file to version control. Make sure to add .env
to your .gitignore
.ecosystem.config.js
):.env
file to version control. Make sure to add .env
to your .gitignore
.Command | Description | Example |
---|---|---|
/team | Get team information | /team ScoutingXYZ |
/areas | Show all area statuses | /areas |
/map | Display area status map | /map |
/points | Show team rankings | /points |
/subscribe | Subscribe to notifications | /subscribe articles |
/help | List available commands | /help |
Bot not responding to commands
Rate limit errors
Missing notifications
Option 2: Webhook-based Integration
webhook.js
:.env
file:.env
file to version control. Make sure to add .env
to your .gitignore
.