This is a Discord bot developed for the Ocarina of Time 3D Randomizer server.
To run this bot, first make your bot at the Discord Developer portal. Enable all intents besides OAuth2 grant, and invite your bot to your server. Then create env.json and place it in the same folder as the rest of the bot code:
{
"discordToken":theBotsToken,
"clientId":theBotsUserId
}
Run npm i discord.js xml2js
, and then run node launchCommands.js
, and finally you can run node index.js
to run the bot. To ensure the bot automatically restarts itself, run run.bat
on Windows, or ./run.sh
on Linux. (If on Linux you may need to run chmod 755 run.sh
first)