Old Pycord Guide
Pycord Guide is an unofficial guide to using the features in Pycord. It provides examples, explanations, and more.
This guide has been moved to https://namantech.me/pycord. Please visit the new guide instead, since this one might be outdated.
The new guide looks better, has better explanations, and is way better overall.
Pycord is an API wrapper for the Discord API, which allows you to make Discord Bots. This is an unofficial guide to this Python Wrapper.
Installation
Fresh Start
Migrating
Uninstall Discord and Discord.py libraries which you might have installed. These may mess up the imports, since Pycord's imports are the same.
python -m pip uninstall discord.py -y
python -m pip uninstall discord -y
Install Py-cord. Remember - its py-cord, not pycord.
python -m pip install py-cord
Other Builds
You can also install other builds if you want.
Warning: Py-cord alpha can be unstable
python -m pip install -U git+https://github.com/Pycord-Development/pycord
Note: Git is required to install these. Visit the page below to understand how you can install git.
Installing GitInstallation on repl.it
Repl.it is not a good IDE. Its online, its free, but you should definitely not use it to host your bot, its not made for that purpose. Your bot will get slower as it gets bigger, and certain files might be deleted.
Instead, you may use EpikHost. EpikHost is fully free for Discord Bots, you just need to join their Discord Server to create an account. You may also use another cheap VPS.
Step 1: Create a file and name it .replit
. Just .replit
, with the dot/period at first.
Next, you need to insert the following into the file.
language="python3"
run = """
pip install py-cord
python main.py
"""
[packager]
ignoredPackages=["discord.py", "discord"]

Last updated
Was this helpful?