Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

YummyOreo/python-bot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot Template

About ⦿ Setup ⦿ Add Commands

About

This is a bot template to help you get a bot working in no time! This supplyes you with a .env file for your token!

Setup

Clone the repo:

$ git clone https://github.com/OreoDivision/python-bot-template
$ cd python-bot-template

Install dependencies:

$ pip install -r requirements.txt

Env values:

Rename .env.example to .env and fill out teh fields

Edit the help command

Go to ./cogs/help.py to start editing the file to make it yours.

Finally, start the bot.

$ python3 main.py

Adding Commands

How to add commands:

Copy the example

Go to example.py and copy its contents.

Make a new file

Make a new file in the cogs folder. The file has to be named the command name.

Paste

Paste the contents of example.py into your new file!

Code

Now code any code you want in your command