A Discord bot for PSForever.
npm install
to install dependencies- Create an application if you haven't already
- Set the config via env variables (or put them in
.env
) npm start
Open this URL (fill in your_client_id
):
https://discordapp.com/oauth2/authorize?client_id=your_client_id&scope=bot
DISCORD_TOKEN
: Discord access token (required)S3_ACCESS_KEY_ID
: S3 access key ID (required)S3_ACCESS_KEY
: S3 access key (required)S3_BUCKET_NAME
: S3 bucket name (required)S3_ENDPOINT
: S3 endpoint (required)SENTRY_DSN
: Sentry DSN (optional)API_URL
: API URL (defaulthttps://play.psforever.net
)