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
Your input is amazing! Making contributing to this project as easy and transparent as possible is one of the most important side, this includes:
3
4
4
-
- Reporting a bug
5
-
- Discussing the current state of the code
6
-
- Submitting a fix
7
-
- Proposing new features
8
-
- Becoming a maintainer
5
+
-Reporting a bug
6
+
-Discussing the current state of the code
7
+
-Submitting a fix
8
+
-Proposing new features
9
+
-Becoming a maintainer
9
10
10
11
## Wanted changes
11
-
- New features
12
-
- Better documentation
13
-
- Fixing of spelling and grammatical issues
12
+
13
+
- New features
14
+
- Better documentation
15
+
- Fixing of spelling and grammatical issues
14
16
15
17
## Unwanted changes
16
-
- Whitespaces and punctuation changes
17
-
- Word changes using synonyms
18
-
- Entire rewrites of the project, or parts of the project - unless approved first by a maintainer
18
+
19
+
- Whitespaces and punctuation changes
20
+
- Word changes using synonyms
21
+
- Entire rewrites of the project, or parts of the project - unless approved first by a maintainer
19
22
20
23
## All code changes happen through pull requests
24
+
21
25
Pull requests are the best way to propose changes to the codebase. We actively welcome your pull requests:
22
26
23
27
1. Fork the repo and create your branch from `main`.
24
28
2. Keep consistency with the current state of the codebase, this includes but is not limited to naming convention, Discord embeds, etc.
25
-
3. Format the code of the files you've edited with the **black** formatter.
26
-
4. Issue that pull request!
29
+
3. Format the code of the **Python** files you've edited with the **black** formatter and **all others** with the **Prettier** formatter.
30
+
4. Sort the imports with `isort`
31
+
5. Issue that pull request!
27
32
28
33
## Commit messages guidelines
34
+
29
35
This project uses [`Conventional Commits 1.0.0`](https://conventionalcommits.org/en/v1.0.0/) hence your commit messages **must** follow the same convention or your contributions will be ignored, refused or assigned to another user or maintainer.
30
36
31
37
It would be more than welcome to keep your contributions as a single commit rather than, for examples, 20 `"fix: Stuff"` commits in-between. You may use multiple commmits if you believe the changes made in these commmits have nothing, or close to nothing, in common - feel free to ask a maintainer on whether or not it should be a single commit or not.
32
38
33
39
## Create a GitHub [Issue](https://github.com/kkrypt0nn/Python-Discord-Bot-Template/issues) and **then** a pull request
40
+
34
41
Start contributing by first [opening a new issue](https://github.com/kkrypt0nn/Python-Discord-Bot-Template/issues/new/choose). Once that is done, you can create a pull request for the issue.
35
42
36
43
## License
44
+
37
45
Your submissions are understood to be under the same [Apache License 2.0](https://github.com/kkrypt0nn/Python-Discord-Bot-Template/blob/main/LICENSE.md) that covers the project.
| YOUR_BOT_PREFIX_HERE | The prefix you want to use for normal commands |
90
+
| YOUR_BOT_INVITE_LINK_HERE | The link to invite the bot |
91
+
92
+
### `.env` file
93
+
94
+
To set up the token you will have to either make use of the [`.env.example`](.env.example) file, either copy or rename it to `.env` and replace `YOUR_BOT_TOKEN_HERE` with your bot's token.
90
95
96
+
Alternatively you can simply create an environment variable named `TOKEN`.
91
97
92
98
## How to start
93
99
@@ -113,8 +119,8 @@ python bot.py
113
119
114
120
If you have any issues or questions of how to code a specific command, you can:
115
121
116
-
* Join my discord server [here](https://discord.gg/mTBrXyWxAF)
117
-
* Post them [here](https://github.com/kkrypt0nn/Python-Discord-Bot-Template/issues)
122
+
- Join my discord server [here](https://discord.gg/mTBrXyWxAF)
123
+
- Post them [here](https://github.com/kkrypt0nn/Python-Discord-Bot-Template/issues)
118
124
119
125
Me or other people will take their time to answer and help you.
120
126
@@ -125,7 +131,7 @@ the [tags on this repository](https://github.com/kkrypt0nn/Python-Discord-Bot-Te
0 commit comments