-
Notifications
You must be signed in to change notification settings - Fork 9
Creating a New Command
Josh Chandler edited this page Oct 2, 2018
·
2 revisions
To create a new command:
- Clone this repository with
git clone https://github.com/ccowmu/ccawmunity.git
. - Create a new branch for your command with
git checkout -b <name of your new branch>
. - Create a python file called
<your new command>.py
in thecommandcenter/commands
directory. - Inside the new python file, create a custom command class that inherits from the
Command
parent class in thecommand
module. If you don't know what that means, don't worry, just check out the template file and follow its structure. Check the commands page for more details on what your command class should look like. - When you're done, submit a pull request. Be sure to include what your command does within the pull request information.