Guide to Install Discord Py Master Branch on Replit

Step 1

Create an empty repl on replit

Step 1

Step 2

Add this Basic Code to the file main.py so as to check if discord.py master branch is installed or not

import discord

button = discord.ui.Button
Step 2

Step 3

Run the code so as to build Packager Files

Step 3

Don't worry about the error . It will be resolved after completing the further steps!

Step 4

Now open pyproject.toml file and replace discord = "^1,7,3" with discord = {git = "https://github.com/Rapptz/discord.py"}

Step 4

Step 5

Open Shell and install discord.py master branch through pip

pip install git+https://github.com/Rapptz/discord.py
Step 5

Step 6

Run the main.py to check if master branch has been installed!

Step 6

Boom! The code ran without any errors, that means discord.py master branch has been installed successfully!!

Now you can create bots on replit based on discord.py 2.0 !!

Make Sure to Star the Repo if you liked it!!

GitHub

GitHub - Pranav-Saxena/Guide-To-Install-Discord-Py-Master-Branch-on-Replit: Step by Step Guide To Install Discord Py Master Branch on Replit
Step by Step Guide To Install Discord Py Master Branch on Replit - GitHub - Pranav-Saxena/Guide-To-Install-Discord-Py-Master-Branch-on-Replit: Step by Step Guide To Install Discord Py Master Branch...