Discord bot that automates the uploading and logging of backups to a specific text channel.
This bot was made in an hour for me and a couple of mates for our Minecraft server it doesn't take usability or scalability into mind.
- Create a Discord application and bot.
- Replace DISCORD_BOT_TOKEN with your Bot's token.
- Replace DISCORD_CHANNEL_ID with the ID of the channel you want the backups to be sent in.
- Replace all MINECRAFT_RCON_* variables with your Server's RCON information.
- Assuming you have a backup mod/plugin already installed on your server replace MINECRAFT_BACKUP_COMMAND with your backup command.
- Replace MINECRAFT_BACKUP_DIRECTORY with the directory where they're saved to.
- Then you're ready to run it, simply run the command "npm run test" in the directory where package.json exists.