About
Currently used on our discord at https://discord.gg/4uAy7y5qsQ
Repackage and distribute as you please.
Installation
1. Create the Discord bot
1. Go to https://discord.com/developers/applications and click New Application.
2. Open Bot, click Reset Token, and copy the token. You'll paste it into Pterodactyl.
3. Open General Information and copy the Application ID.
4. Invite the bot to your server. Put your Application ID into this link and open it:
https://discord.com/oauth2/authorize?client_id=APPLICATION_ID&scope=bot+applications.commands&permissions=3165184
2. Import the egg
In the Pterodactyl admin area, go to Nests → Import Egg. Upload egg-tgc-radio.json and pick a nest.
3. Create the server
1. Servers → Create New, and choose the TGC Radio egg.
2. Docker image: Node.js 22.
3. The server's port is the address of the web player later on.
4. Paste your bot token into Discord Bot Token and create the server. It installs itself in about a minute.
4. Upload the bot files
1. Open the server's Files tab.
2. Upload `bot-files.zip`, then right-click it and choose Unarchive. Delete the zip afterwards.
3. You should now see `src`, `web` and `package.json` next to `bin`, `data` and `music`.
4. Click Start. It's running when the console says `Logged in as ...`.
Try it: join a voice channel in Discord and type /play followed by a song name.
5. Turn on the web player (optional)
1. In the Startup tab, set Web Admin Password, then restart.
2. Open `http://YOUR-SERVER-IP:PORT` in a browser.
If the page doesn't load, open that port in your server's firewall or router.