Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.63 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.63 KB

WoBBot Build Status

A discord bot which fetches Words of Brandon from Arcanum.

To run this bot: env DISCORD_TOKEN=<TOKEN> [ARCANUM_TOKEN=<TOKEN>] mvn exec:java

This bot requires the Manage Messages permission to control reactions. To grant this in your invite link: https://discordapp.com/oauth2/authorize?&client_id=<CLID>&scope=bot&permissions=8192

Alternatively, invoke !wobabout to get an invite link.

Configuration

Additional environment variables can be used to configure the bot's various aspects.

Name Default What?
DISCORD_TOKEN n/a; Required variable Discord token to connect to the bot
ARCANUM_TOKEN Token for unlimited API calls to the archive
BRANDONSANDERSON_URL The homepage URL to extract progress information
ARCANUM_URL https://wob.coppermind.net The base URL for API interactions
WIKI_URL coppermind.net The wiki URL
WIKI_COMMAND coppermind cm
WOB_COMMAND wob The WoB interaction command
ARCANUM_ICON The URL of the Icon to use for archive responses
WIKI_ICON The URL of the Icon to use for wiki responses
ARCANUM_COLOR #003A52 The color to use in the WoB interactions
WIKI_COLOR #CB6D51 The color to use in the Wiki interactions