Old Pycord Guide

Pycord Guide is an unofficial guide to using the features in Pycord. It provides examples, explanations, and more.

triangle-exclamation

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

circle-check

Installation

Migrating

  1. 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

  2. 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

Note: Git is required to install these. Visit the page below to understand how you can install git.

Installing Gitchevron-right

Installation on repl.it

circle-exclamation

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.

circle-info

You may need to change a few things according to your needs, for example, the filename or the installation command (pip install py-cord).

Also, you do not need to install py-cord everytime Repl.it installs other libraries automatically for you, so its a problem. However, their is a fix to it too.you run the program (line 3 does so), so you may remove it. However, if you are installing alpha, you need it.

Example of installing the alpha version automatically.

Last updated