You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The following is a set of guidelines for contributing to Ogiroid, which is a par
15
15
> This project and everyone participating in it is governed by the Ogiroid code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to the developers.
16
16
17
17
## [What do I require before getting started?](#prerequisites)
18
-
We expect you to be experienced with [Python](https://www.python.org/) and [Disnake](https://disnake.dev/) (a fork of [Discord.py](https://github.com/Rapptz/discord.py)). Having experience with Discord.py should also get you sailing, disnake and discord.py are almost the same.
18
+
We expect you to be experienced with [Python](https://www.python.org/) and [Disnake](https://disnake.dev/) (a fork of [Discord.py](https://github.com/Rapptz/discord.py)). Having experience with Discord.py should also get you sailing, disnake and discord.py are almost the same, or you could also take a look at the very helpful disnake documentation.
19
19
20
20
## [What can I do to contribute?](#contribution)
21
21
**1. Reporting any bugs 🐞:**
@@ -48,3 +48,37 @@ Alternatively, you can headover to our [Discord Server](https://discord.com/5uw4
48
48
With that being said, you have officially reported a bug! Thank you so much 🤩!
49
49
50
50
<!--Contributing.md: writeup #1-->
51
+
52
+
### Contributing Code
53
+
54
+
Fork the repository and then clone it using: (make sure to insert your username)
After this get into the folder you cloned the repository to.
59
+
We always work on the development branch so make sure you are on the dev branch.
60
+
61
+
```git checkout development```
62
+
63
+
Now you need to create a Discord Bot if you don't already have one. Please look up a guide for how to do this.
64
+
Invite the bot to a test server you own or create a test server.
65
+
66
+
Now copy secrets.env.template and rename the copy to secrets.env
67
+
Insert your bots token in the correct field.
68
+
Set development to true. The rest can be ignored for now.
69
+
70
+
To install the requirements:
71
+
72
+
```pip install -r requirements.txt```
73
+
74
+
And finally to run the bot:
75
+
76
+
```python main.py```
77
+
78
+
utils/CONSTANTS.py stores the ids for various channels, for the main server and for the official development server, to wich you will gain access after a significant contribution.
79
+
80
+
Use ```black . --safe``` for formatting (need to install black with pip)
81
+
82
+
If you need any help contact us on discord or open an issue.
83
+
84
+
After you have finished writing the code open a PR with the base branch being development.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ Main Contributors/Developers:
17
17
</ul>
18
18
The bot is currently on release: <b>2.0</b><br>
19
19
License: MIT<br>
20
+
21
+
<h3>Contributing</h3>
20
22
Wish to Contribute to this bot? Checkout: <ahref="https://github.com/LewisProjects/Ogiroid/blob/development/CONTRIBUTING.md">contribution guidelines</a>
0 commit comments