Skip to content

A discord bot which fetches Words of Brandon from Arcanum.

License

Notifications You must be signed in to change notification settings

17thshard/WoBBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A discord bot which fetches Words of Brandon from Arcanum.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published