21 lines
862 B
Markdown
21 lines
862 B
Markdown
# horsebot
|
|
|
|
Website and Discord bot serving horse game data.
|
|
|
|
Production instance is named Zenno Rob Roy, because she has read all about Umamusume and is always happy to share her knowledge and give recommendations.
|
|
|
|
The `-mdb` flag is mandatory for both website and Discord bot modes.
|
|
It provides data for both the horsebot API and the discord bot.
|
|
|
|
## Running the Website
|
|
|
|
If the `-public` flag is provided, its value gives the directory to serve at `/`.
|
|
The `-img` flag gives a separate directory into which images are synced from GameTora; obtain permission from Gertas prior to using it.
|
|
The images are served on `/img/`.
|
|
|
|
## Running the Discord Bot
|
|
|
|
Provide the `-token` flag pointing to a file containing the token.
|
|
The bot always uses the Gateway API.
|
|
If the `-http` argument is provided, it will also use the HTTP API, and `-key` must also be provided.
|