Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.86 KB

CONTRIBUTING.md

File metadata and controls

33 lines (25 loc) · 1.86 KB

Making Changes

Depending on your changes there are certain rules you have to follow if you expect your Pull Request to be merged.

Note: It is recommended to create a new remote branch for each Pull Request. Based on the current master changes!

  1. Adding a new Method or Class

    • If your addition is not internal (e.g. an impl class or private method) you have to write documentation.
    • Keep your code consistent! example
      • Follow the guides provided at JDA Structure Guide
      • Compare your code style to the one used all over JDA and ensure you do not break the consistency (if you find issues in the JDA style you can include and update it)
    • Do not remove existing functionality, use deprecation instead (for reference deprecation policy)
  2. Making a Commit

    • While having multiple commits can help the reader understand your changes, it might sometimes be better to include more changes in a single commit.
    • When you commit your changes write a proper commit caption which explains what you have done
  3. Updating your Fork

  4. Only open Pull Requests to master

For more information please consult the Contributing section of our wiki.