Skip to content

codi-hacks/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot

Table of Contents generated with DocToc

Getting started

Installation

On Linux/MacOS:

pip install -r requirements.txt

On Windows:

py -m pip install -r requirements.txt

Configuration

Copy config.yml.example to config.yml.

Go to Discord Developer Portal and create a new app and save the secret token.

Edit config.py and set token: 'YOUR_TOKEN_HERE'.

Run

On Linux/MacOs:

python main.py

On Windows:

py main.py

Updating dependencies

Delete and regenerate requirements.txt:

pip freeze > requirements.txt