Skip to content

GitJestGit/Cards-Against-Discord

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cards Against Discord/Servers

Setup Instructions

(THESE INSTRUCTIONS ARE MADE WITH THE IDEA THAT YOU KNOW HOW TO SET UP A BOT IN THE DISCORD DEVELOPER PORTAL. IF NOT GO FOLLOW THIS GUIDE.)

You're going to need a few things to get this to work if you want to use this in your server. First you're obviously going to want the latest version of Python.

Then, you're going to want to run this command:

pip install pycord

Now you have the Discord Python library installed. Which means you can go to the next step. Go to your Discord Developer Portal and go to Bot > Privileged Gateway Intents and turn on everything under it. This is so the bot can actually do stuff.

Now, go to the source code and go to the .env file. You're going to want to change some variables, such as making sure that "DISCORD_TOKEN" is your bot's token. And you want to change "OWNER_ID" with your Discord ID so you can be the only one to start the bot. Last, make sure to change the "ROLE_ID" with what role you want to ping with. If you don't want to ping anyone, then just set it to 0.

Once finished, go to where you downloaded the source code and go to your terminal. Run these commands:

cd C:/directory/to/source/code
python main.py

If done correctly, the bot should've printed "Logged in as User#1234". (Obviously User#1234 being YOUR bot's name and tag.)

If not, then look back at the errors or send them to me and I can help instruct you.

Enjoy the bot!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%