Streams any YouTube video to your private Discord server. A simple bot using LavaPlayer and Discord4j.
- Create your Discord Application in the Developer Portal. (https://discord.com/developers/applications)
- Obtain Client Secret from the "Bot" tab.
- Obtain Application ID and Public Key from the "General Information" tab.
- Obtain the Guild ID of your Discord Guild.
- Create file
application-local.yml
insrc/main/resources
(gitignored for this purpose) - Set the following properties:
discord: authentication: public: app-id: <your discord application ID> guild-id: <your discord guild ID> public-key: <your application public key> secret: discord-token: <your SUPER secret discord token here>
- Run Spring with the
local
profile to load your specific properties (--spring.profiles.active=local
)
When you launch the application, it will automatically install all commands on your server.
- Use the
ssh-keygen -t rsa -b 2048
command to generate a set of keys. The terraform repository demands this. 2. Save key to/Users/<you>/.ssh/id_rsa_dmb