Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 2.93 KB

windows-setup.md

File metadata and controls

36 lines (26 loc) · 2.93 KB

This is a Step-by-step tutorial on how to start running PyCord in your Windows Computer!

1: Creating a Discord Bot

PyCord uses a Discord Bot to act as a User Account. to create a Discord Bot, you will need to visit the Discord Developer Portal and create a New Application and give your Bot a Name!
image

After that, You will click on the Bot menu at the Side Panel and click on Add Bot at the right side of your screen. image

After that, you will need to scroll down a little until you see Privileged Gateway Intents then enable the Message Content Intent and Server Members Intent image

These two intents are Required to run PyCord.

2: Setting up .env Bot Token Value

Now that we created a bot, we will now need it's token to start the bot.
If you have 2 Factor Authorization in your Discord Account, you may need your Authenticator App to proceed to this next step.

To get your Discord Bot Token, simply press Reset Token and click on Copy.

If you have 2FA in your account, you will need to enter your Authentication Code before you can get your Discord Bot's token.

Now that we have our Discord Bot's token. we will now edit our .env file that's Included on the PyCord ZIP file.
To edit our .env file, You will need to Press Win+R and type in notepad.exe and press enter. image

Now that we opened the Notepad Program, drag the .env file inside the Notepad Window and paste our Discord Bot's Token next to the token Value then Save.
image

3: Running PyCord on Windows Terminal

Now that we have everything set, we will now need to run PyCord on a Fancy Terminal so we don't run into problems while using PyCord (on a non-fancy terminal). In this step, you will need to install Windows Terminal on the Microsoft App Store.
image

After installation is done, we can Run Windows Terminal by opening the folder that contains the PyCord Executable and pressing Open In Terminal
image

Now that we opened Windows Terminal, run .\PyCord inside the terminal to start PyCord!