@@ -83,7 +83,8 @@ There are multiple options for self-hosting:
83
83
2 . [ Download] ( #downloads ) the latest ** CleanChat AutoClearChannel Docker**
84
84
3 . Unzip the ` .zip ` package on your computer.
85
85
4 . Copy & rename the ` config.json.sample ` file to ` config.json ` .
86
- 5 . Configure the newly renamed ` config.json ` file, make sure to replace your ` DISCORD_BOT_TOKEN ` . * (See: [ Configuration] ( #configuration ) )*
86
+ 5 . Configure the newly renamed ` config.json ` file, make sure to replace your ` DISCORD_BOT_TOKEN ` .
87
+ * (See: [ Configuration] ( #configuration ) )*
87
88
6 . Build the [ ` docker ` ] ( https://www.docker.com/ ) container, from command line in the root directory of CleanChat ACC Docker:
88
89
``` bash
89
90
# Build & tag the CleanChat-ACC container
@@ -109,7 +110,8 @@ all with a simple `git push`!
109
110
2. [Download](# downloads) the latest **CleanChat AutoClearChannel `Docker`**
110
111
3. Unzip the ` .zip` package on your computer.
111
112
4. Copy & rename the ` config.json.sample` file to ` config.json` .
112
- 5. Configure the newly renamed ` config.json` file, make sure to replace your ` DISCORD_BOT_TOKEN` . * (See: [Configuration](# configuration))*
113
+ 5. Configure the newly renamed ` config.json` file, make sure to replace your ` DISCORD_BOT_TOKEN` .
114
+ * (See: [Configuration](# configuration))*
113
115
6. Initialize & configure a [` git` ](https://git-scm.com/) repository from command line in the root directory of CleanChat ACC Docker:
114
116
` ` ` bash
115
117
# Initialize a git repository
@@ -136,7 +138,8 @@ git push clean-chat-acc master
136
138
2. [Download](# downloads) the latest **CleanChat AutoClearChannel `Portable` or `Windows`**
137
139
3. Unzip the ` .zip` package on your computer.
138
140
4. Copy & rename the ` config.json.sample` file to ` config.json` .
139
- 5. Configure the newly renamed ` config.json` file, make sure to replace your ` DISCORD_BOT_TOKEN` . * (See: [Configuration](# configuration))*
141
+ 5. Configure the newly renamed ` config.json` file, make sure to replace your ` DISCORD_BOT_TOKEN` .
142
+ * (See: [Configuration](# configuration))*
140
143
6. Run the execute-able from command line in the root directory of CleanChat ACC:
141
144
- ** Portable** : ` dotnet CleanChat-AutoClearChannel.dll`
142
145
- ** Windows 64 & 32** : ` CleanChat-AutoClearChannel.exe`
@@ -223,17 +226,21 @@ then the bot will delete every message after they have each spent 5 seconds in c
223
226
The delay is set in milliseconds or a " formatted time string"
224
227
225
228
" Formatted time strings" looks like this:
226
- ` 2s` means " 2 Seconds"
227
- ` 5m1s` means " 5 Minutes and 1 Second"
228
- ` 10h6m10s` means " 10 Hours, 6 Minutes and 10 seconds"
229
- ` 2s500ms` means " 2 Seconds and 500 Milliseconds"
229
+ | Format | Meaning |
230
+ | :--------: | ------------------------------------ |
231
+ | ` 2s` | " 2 Seconds" |
232
+ | ` 5m1s` | " 5 Minutes and 1 Second" |
233
+ | ` 10h6m10s` | " 10 Hours, 6 Minutes and 10 seconds" |
234
+ | ` 2s500ms` | " 2 Seconds and 500 Milliseconds" |
230
235
231
236
So basically a number, and then a letter representing a time unit.
232
- ` ms` means " Milliseconds"
233
- ` s` means " Seconds"
234
- ` m` means " Minutes"
235
- ` h` means " Hours"
236
- ` d` means " Days"
237
+ | Format | Meaning |
238
+ | :----: | -------------- |
239
+ | ` ms` | " Milliseconds" |
240
+ | ` s` | " Seconds" |
241
+ | ` m` | " Minutes" |
242
+ | ` h` | " Hours" |
243
+ | ` d` | " Days" |
237
244
238
245
If you want to remove a autoclearchannel again, you must either set the deletion delay to 0 or use [` reset` ](# reset).
239
246
0 commit comments