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
+11-13
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,23 @@
2
2
3
3
Your input is amazing! Making contributing to this project as easy and transparent as possible is one of the most important side, this includes:
4
4
5
-
-Reporting a bug
6
-
-Discussing the current state of the code
7
-
-Submitting a fix
8
-
-Proposing new features
9
-
-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
10
10
11
11
## Wanted changes
12
12
13
-
-New features
14
-
-Better documentation
15
-
-Fixing of spelling and grammatical issues
13
+
- New features
14
+
- Better documentation
15
+
- Fixing of spelling and grammatical issues
16
16
17
17
## Unwanted changes
18
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
+
- 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
22
22
23
23
## All code changes happen through pull requests
24
24
@@ -34,8 +34,6 @@ Pull requests are the best way to propose changes to the codebase. We actively w
34
34
35
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.
36
36
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.
38
-
39
37
## Create a GitHub [Issue](https://github.com/kkrypt0nn/Python-Discord-Bot-Template/issues) and **then** a pull request
40
38
41
39
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.
Copy file name to clipboardExpand all lines: README.md
+16-20
Original file line number
Diff line number
Diff line change
@@ -73,28 +73,14 @@ Alternatively you can do the following:
73
73
74
74
## How to set up
75
75
76
-
To set up the bot it was made as simple as possible.
76
+
To set up the token you will have to make use of the [`.env.example`](.env.example) file; you should rename it to `.env` and replace the `YOUR_BOT...` content with your actual values that match for your bot.
77
77
78
-
### `config.json` file
79
-
80
-
There is [`config.json`](config.json) file where you can put the
| YOUR_BOT_PREFIX_HERE | The prefix you want to use for normal commands |
88
-
| YOUR_BOT_INVITE_LINK_HERE | The link to invite the bot |
89
-
90
-
### `.env` file
91
-
92
-
To set up the token you will have to make use of the [`.env.example`](.env.example) file, you should rename it to `.env` and replace `YOUR_BOT_TOKEN_HERE` with your actual bot's token.
93
-
94
-
Alternatively you can simply create an environment variable named `TOKEN`.
78
+
Alternatively you can simply create a system environment variable with the same names and their respective value.
95
79
96
80
## How to start
97
81
82
+
### The _"usual"_ way
83
+
98
84
To start the bot you simply need to launch, either your terminal (Linux, Mac & Windows), or your Command Prompt (
99
85
Windows)
100
86
.
@@ -111,7 +97,17 @@ After that you can start it with
111
97
python bot.py
112
98
```
113
99
114
-
> **Note** You may need to replace `python` with `py`, `python3`, `python3.11`, etc. depending on what Python versions you have installed on the machine.
100
+
> **Note**: You may need to replace `python` with `py`, `python3`, `python3.11`, etc. depending on what Python versions you have installed on the machine.
101
+
102
+
### Docker
103
+
104
+
Support to start the bot in a Docker container has been added. After having [Docker](https://docker.com) installed on your machine, you can simply execute:
105
+
106
+
```
107
+
docker compose up -d --build
108
+
```
109
+
110
+
> **Note**: `-d` will make the container run in detached mode, so in the background.
115
111
116
112
## Issues or Questions
117
113
@@ -129,7 +125,7 @@ the [tags on this repository](https://github.com/kkrypt0nn/Python-Discord-Bot-Te
0 commit comments