- Fork or clone the repository
- Open a command line utility and
cd
to the root directory of the repository - Run
pip install -r requirements.txt
to install the needed dependencies
- Log into the Discord website and navigate to the applications page
- Click
New Application
- Give your application a name
- Navigate to the
Bot
tab and clickAdd Bot
. You will have to confirm by clickingYes, do it!
- Click the
Copy
button underneath token. (Do not share this) - Inside the bot directory rename the file called
.env.example
to.env
and paste the token in theTOKEN
variable
- Create a Discord server where you can test your bot
- On the applications page, select your application and navigate to the
OAuth2
tab. - Then select the
URL Generator Tab
- Select
bot
andapplications.commands
under thescopes
section. Then tick Administrator under the Bot Permissions section - Click the Copy button and paste it into your browser of choice and invite it to your test server.
Once you have a new command or feature working in the bot, you can add it to the main project by creating a new pull request to merge it into the master branch.