- Fork or clone the repository
- Open a command line utility and
cdto the root directory of the repository - Run
pip install -r requirements.txtto 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
Bottab and clickAdd Bot. You will have to confirm by clickingYes, do it! - Click the
Copybutton underneath token. (Do not share this) - Inside the bot directory rename the file called
.env.exampleto.envand paste the token in theTOKENvariable
- Create a Discord server where you can test your bot
- On the applications page, select your application and navigate to the
OAuth2tab. - Then select the
URL Generator Tab - Select
botandapplications.commandsunder thescopessection. 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.