Music
Setting Up discord-player-youtubei for Your Discord Bot
Last updated
Setting Up discord-player-youtubei for Your Discord Bot
Last updated
To set up and use discord-player-youtubei
for your Discord bot, follow the steps outlined in this guide. Please note that you must use a throwaway account that is 18+ years old, as there is a risk of the account being banned.
Before you begin, you need to have Node.js installed on your machine. Follow these steps:
Download Node.js from the official website:
Run the installer and follow the instructions to complete the installation.
After installing Node.js, open the command prompt on your local machine and execute the following command:
Login Requirement: You will be prompted to log in to a Google account. Use a throwaway Google account that is 18+ years old. There is a risk that this account may be banned, so avoid using any personal accounts.
After logging in, the command will generate a long string containing the access token and other necessary details. The string will look like this:
Important: Copy the entire login string, as you will need to paste it into your configuration file.
Next, you'll need to update your configuration file with the following settings:
Paste the Access Token: In your configuration, paste the copied access token string into the appropriate field.