
The module youtube_dl is an open-source download manager for video and audio content from YouTube and other video hosting websites. Then use Python import to load all the needed modules in the main file app.py: import discord env file so that we can separate the environment configuration variables (these are variables whose values are set outside the program) from the main code: discord_token = "copy_paste_your_bot_token_here" Bonus: send GIFs on start-up and print server detailsįirst, create a virtual environment and install the requirements: discord=1.0.1.Part 4: Running the Python Discord bot locally.Part 3: Adding commands to the Python Discord bot.

Part 2: Using youtube_dl to download audio.
