Skip to content

yevgeniusr/voting_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voting_bot

Prerequisites

You need Python 3.5+ for this. The discord.py library used in this project does not support Python2.

Running

Bot Token

Create a file called creds.py in the same directory as voting-bot.py.

Add a line to creds.py with your discord bot token like this:

bot_token = "YOUR_DISCORD_BOT_TOKEN_HERE"

The creds.py file has obviously/deliberately not been pushed to GH for security reasons (it's' been added to the .gitignore so it won't be pushed).

To get the actual, correct bot token value, ask anyone on the Discord server, preferably theratulz or KnifeAndFawkes or anattaguy.

VirtualEnv

Create a VirtualEnvironment for this project, activate it, and install the dependencies like so on the command line:

pip install -r requirements.txt

This will install the discord.py module into the virtual environment.

Run Forrest, Run!

Now you should be able to run the bot like so:

$ python voting-bot.py
Logged in as:
Voting Bot
590257854452203558
-----------

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •