A custom Discord bot made for the Metroid Dread Speedrunning Discord server.
To get the bot running, the following must be placed in config.json:
{
"clientId": "", // Discord client's user ID
"owners": [], // array of IDs for Discord users who can execute commands marked as owner only
"wikiDomain": "", // domain returned by wiki commands (e.g. dreadwiki.hijumpboots.com)
"graphQlDomain": "", // domain for wiki API calls (e.g. dreadwiki.hijumpboots.com or localhost:4000)
}
Additionally, a Discord token and a Wiki.JS API key must be generated and placed into tokens.json:
{
"discordToken": "",
"wikiToken": ""
}
Finally, run databases/db_init.ts to initialize the bot's databases.