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: CHANGELOG.md
+98-37Lines changed: 98 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,43 +4,104 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
+
# v2.9.1
8
+
Changed order of arguments for the contact command. This is so that you can use aliases to their full potential.
9
+
For example:
10
+
-`contact "Recruitment Category" @somedude`
11
+
12
+
You can add an alias by doing: `alias add recruit contact "Recruitment Category"`
13
+
14
+
Now you can use the alias via: `recruit @somedude`
15
+
16
+
# v2.9.0
17
+
18
+
### Added
19
+
- New command `note` will add a system message to your thread logs. This is useful for noting the context of a conversation.
20
+
21
+
# v2.8.1
22
+
23
+
### Fixed
24
+
- Fixed bug where thread logs were getting duplicated when using the `contact` command.
25
+
- Fixed bug where the wrong key was used for logs which caused some `log` command log links to point to an HTTP 404 Not Found.
26
+
- A minor oversight from commit 1ba74d9.
27
+
28
+
# v2.8.0
29
+
30
+
### Changed
31
+
- Major improvement in viewing thread logs.
32
+
- Log links are now rendered in HTML instead of plain text.
33
+
34
+
# v2.7.2
35
+
36
+
### Added
37
+
-`config options` command to see a list of valid config variables that you can modify.
38
+
39
+
### Security
40
+
Thread channels will now default to being private (`@everyone`'s read message perms set to `false`).
41
+
- If the thread creation category could not be resolved.
42
+
- This will save you from some trouble if for whatever reason your configuration gets messed up.
43
+
44
+
# v2.7.1
45
+
46
+
### Changed
47
+
48
+
- All reference to "modmail" / "Mod Mail" / "ModMail" are changed to "Modmail".
49
+
-`log_channel_id` is now part of the config upon `setup`.
50
+
- Added the ability to set where threads are created using the `main_category_id` configuration option.
51
+
52
+
### Important Note
53
+
54
+
- If your Modmail bot was set up a long time ago, you may experience an issue where messages were sent outside of the category.
55
+
- To fix this, set `main_category_id` to the ID of the Modmail category.
56
+
57
+
# v2.7.0
58
+
59
+
### Changed
60
+
61
+
-`move` command now syncs thread channel permissions with the category that it was moved to.
62
+
-`contact` command now supports an optional category argument (where the thread channel will be created).
63
+
7
64
# v2.6.3
8
65
9
-
Fixed small issue in thread finding.
66
+
Fixed small issue with finding thread.
10
67
11
68
# v2.6.2
12
69
13
-
Fixed log urls for selfhosting users. (This shouldn't affect anyone)
70
+
Fixed log URLs for self-hosting users.
71
+
(This shouldn't affect anyone.)
14
72
15
73
# v2.6.1
16
74
17
75
### Fixed
18
-
-API BASE URL
76
+
-Replaced the testing `API_BASE_URL` with the actual URL.
19
77
20
78
# v2.6.0
21
79
22
80
Mostly internal changes. Some are slightly breaking. Keep a lookout for broken features and report them on our server.
23
81
24
82
### Added
25
-
-`threads` is now a default alias to `logs`
83
+
-`threads` is now a default alias to `logs`.
26
84
27
85
### Changed
28
86
- Log URLs are moved to their own collection.
29
-
- Log URLs are now `https://logs.modmail.tk/LOGKEY`, no more numbers before the logkey.
30
-
- We still support the numbers so as to not break everyone's urls so quickly but both work atm :p
87
+
- Log URLs are now `https://logs.modmail.tk/LOGKEY`, no more numbers before the log key.
88
+
- We still support the numbers so as to not break everyone's URLs so quickly but both work at the moment.
31
89
- This is a huge change to the backend logging and there might be migration errors. If so, please contact us at our [discord server](https://discord.gg/2fMbf2N)
Bots hosted by Heroku restart at least once every 27 hours.
43
-
During this period, local caches are deleted, which results in the inability to set the scheduled close time to longer than 24 hours. This update resolves this issue. [PR #135](https://github.com/kyb3r/modmail/pull/135)
103
+
During this period, local caches are deleted, which results in the inability to set the scheduled close time to longer than 24 hours. This update resolves this issue.
@@ -49,7 +110,7 @@ During this period, local caches are deleted, which results in the inability to
49
110
- Loaded upon bot restart.
50
111
- Deleted when a thread is closed.
51
112
- Use `call_later()` instead of `sleep()` for scheduling.
52
-
113
+
53
114
# v2.4.5
54
115
55
116
### Fixed
@@ -65,42 +126,42 @@ Fixed a bug in activity command where it would fail to set the activity on bot r
65
126
This update shouldn't affect anyone.
66
127
67
128
### Changed
68
-
- Moved self-hosted log viewer to a separate repo.
69
-
129
+
- Moved self-hosted log viewer to a separate repo.
130
+
70
131
# v2.4.2
71
132
72
-
### Added
133
+
### Added
73
134
- Ability to set your own Twitch URL for `streaming` activity status.
74
135
75
136
# v2.4.1
76
137
77
-
### Fixed
78
-
- Small bug in `activity` command.
138
+
### Fixed
139
+
- Small bug in `activity` command.
79
140
80
141
# v2.4.0
81
142
82
143
Breaking changes.
83
144
84
-
### Added
145
+
### Added
85
146
- Added the `activity` command for setting the activity
86
147
-[PR #131](https://github.com/kyb3r/modmail/pull/131#issue-244686818) this supports multiple activity types (`playing`, `watching`, `listening` and `streaming`).
87
148
88
149
### Removed
89
-
- Removed the deprecated `status` command.
90
-
- This also means you will have to reset your bot status with the `activity` command, as `status` command is removed.
150
+
- Removed the deprecated `status` command.
151
+
- This also means you will have to reset your bot status with the `activity` command, as `status` command is removed.
91
152
92
153
# v2.3.0
93
154
94
-
### Added
155
+
### Added
95
156
- Ability to self-host logs.
96
157
97
158
### Changed
98
159
- Improved format for log channel embeds.
99
-
- Roles are now commaseparated in info embed.
160
+
- Roles are now comma-separated in info embed.
100
161
- This only applies to separate server setups.
101
162
102
163
### Fixed
103
-
- Bug in subscribe command, it will now unsubscribe after a thread is closed.
164
+
- Bug in subscribe command; it will now unsubscribe after a thread is closed.
104
165
105
166
# v2.2.0
106
167
@@ -141,47 +202,47 @@ Breaking changes.
141
202
142
203
# v2.0.9
143
204
144
-
### Added
205
+
### Added
145
206
- Support for custom blocked emoji and sent emoji.
146
207
- Use the `config set blocked_emoji` or `sent_emoji` commands.
147
208
148
209
### Quick Fix
149
-
- Support multiple image and file attachments in one message.
210
+
- Support multiple images and file attachments in one message.
150
211
- This is only possible on mobile so its good to handle it in code.
151
212
152
213
# v2.0.8
153
214
154
215
Improvements to commands and new config options available.
155
216
156
-
### Added
217
+
### Added
157
218
- Added the ability to use your own log channel.
158
219
- You can do this via the `config set log_channel_id <id>` command.
159
220
- Added the ability to use your own main inbox category.
160
221
- You can do this via the `config set main_category_id <id>` command.
161
222
162
223
### Changed
163
-
- You now have the ability to supply a reason when blocking a user.
224
+
- You now have the ability to supply a reason when blocking a user.
164
225
- Blocked users are now stored in the database instead of in the channel topic.
165
226
- This means you can delete the top channel in the modmail category now. (Migrate first though.)
166
227
167
228
# v2.0.7
168
229
169
-
New command and improvements in bot update message interfaces.
230
+
New command and improvements in bot update message interfaces.
170
231
171
-
### Added
232
+
### Added
172
233
- Added a `changelog` command to view the bot's changelog within discord.
173
234
174
235
### Changed
175
-
-Update command now shows latest changes directly from the [CHANGELOG.md](https://modmail.tk/) in the repo.
176
-
- Auto update messages also show latest changes from repo.
177
-
-Remove latest changes section from the `about` command.
236
+
-`update` command now shows the latest changes directly from the [CHANGELOG.md](https://modmail.tk/) in the repo.
237
+
- Auto update messages also show the latest changes from the GitHub repo.
238
+
-Removed "latest changes" section from the `about` command.
178
239
179
240
# v2.0.6
180
241
181
242
### Fixed
182
243
- Fix logs sending duplicated thread close logs.
183
244
- The bot will now tell you that a user is no longer in the server when you try to reply to a thread.
184
-
- Before this, it looked like you replied to the thread but in reality the message didnt get sent.
245
+
- Before this, it looked like you replied to the thread, but in reality, the message didn't get sent.
185
246
186
247
# v2.0.5
187
248
@@ -192,22 +253,22 @@ New command and improvements in bot update message interfaces.
192
253
# v2.0.4
193
254
194
255
### Fixed
195
-
- Fixed a oneoff bug where the channel topic disappears, but modmail operations should still continue.
256
+
- Fixed a one-off bug where the channel topic disappears, but modmail operations should still continue.
196
257
- Fixed `linked_message_id` issues.
197
258
198
259
# v2.0.3
199
260
200
261
Fixed some issues with how data is displayed in the info embed.
201
262
202
263
### Fixed
203
-
- Thread creation embed now shows the correct amount of past logs.
264
+
- Thread creation embed now shows the correct number of past logs.
204
265
- If using a separate server setup, roles in the info embed now are shown as names instead of mentions.
205
266
- This is due to the fact that you can't mention roles across servers.
206
267
207
268
# v2.0.2
208
269
209
270
### Security
210
-
- Made the `logs` command require "manage messages" permissions to execute.
271
+
- Made the `logs` command require "manage messages" permissions to execute.
211
272
- Before this patch, anyone could use the `logs` commands.
212
273
213
274
# v2.0.1
@@ -223,15 +284,15 @@ Bug fixes and minor improvements.
223
284
224
285
# v2.0.0
225
286
226
-
This release introduces the use of our centralized [API service](https://github.com/kyb3r/webserver) to enable dynamic configuration, auto-updates, and thread logs.
227
-
To use this release you must acquire an API token from https://modmail.tk.
287
+
This release introduces the use of our centralized [API service](https://github.com/kyb3r/webserver) to enable dynamic configuration, auto-updates, and thread logs.
288
+
To use this release you must acquire an API token from https://modmail.tk.
228
289
Read the updated installation guide [here](https://github.com/kyb3r/modmail/wiki/installation).
229
290
230
291
### Changed
231
292
- Stability improvements through synchronization primitives.
232
293
- Refactor thread management and code.
233
294
- Update command now uses `api.modmail.tk`.
234
-
-`contact` command no longer tells the user you messaged them 👻
295
+
-`contact` command no longer tells the user you messaged them 👻
235
296
236
297
### Fixed
237
298
-`status` command now changes playing status indefinitely.
When a user sends a direct message to the bot, a channel is created within an isolated category. This channel is where messages will be relayed. To reply to a message, simply use the command `reply` in the channel. See a full list of commands [below](#features-and-commands).
42
+
When a user sends a direct message to the bot, a channel is created within an isolated category. This channel is where messages will be relayed. To reply to the message, simply use the command `reply` in the channel. See a full list of commands [below](#features-and-commands).
43
43
44
44
45
45
## Installation
46
46
47
-
You have two options for using this bot, hosting on Heroku or self hosting the bot. If you choose to install the bot using Heroku, you do not need to download anything. Read the installation guide[here](https://github.com/kyb3r/modmail/wiki/Installation) or watch the **[video tutorial](https://youtu.be/TH_1QfKUl_k)**. If you have any problems join our [discord server](https://discord.gg/etJNHCQ)or just join anyways:wink:
47
+
You have two options for using this bot, host on Heroku or self-host the bot. If you choose to install the bot using Heroku, you will not need to download anything. Read the **[installation guide](https://github.com/kyb3r/modmail/wiki/Installation)** or watch the **[video tutorial](https://youtu.be/TH_1QfKUl_k)**. If you ran into any problems, join our [discord server](https://discord.gg/etJNHCQ)for help and support. Even if you don't have any issues, you should come and check out our awesome Discord community!:wink:
48
48
49
-
## What is heroku?
49
+
## What is Heroku?
50
50
51
-
Heroku is a container based cloud platform that currently offers a free plan to host web apps. However, these apps have an ephemeral file system and thus cannot store any data on site. We have made Mod Mail to be accessible to anyone while still being featurerich, it's a community run project that lets anyone get it up and running 24/7 for free. So how does our bot store data? Config and logs are stored in a [centralised web service](https://modmail.tk) hosted by us. This enables you to get started easily and fast.
51
+
Heroku is a container based cloud platform that currently offers a free plan to host web apps. However, these apps have an ephemeral file system and thus cannot store any data on site. We have made Modmail be accessible to anyone while still being feature-rich; it's a community run project that lets anyone get it up and running 24/7 for free. So how does our bot store data? Configs and logs are stored in a [centralized web service](https://modmail.tk) hosted by us. This enables you to get started easily and fast.
52
52
53
-
## Selfhosted logs
53
+
## Self-hosted logs
54
54
55
-
If you want complete control over your data and do not want to use the centralised API service, you can selfhost your logs. You can do this by adding two config variables:
55
+
If you want complete control over your data and do not want to use the centralized API service, you can self-host your logs. We recommend this if you want stability and security for your bot. You can do this by adding two config variables:
56
56
57
-
*`MONGO_URI` - Mongodb connection URI, you can get a free 500mb cluster from [mongodb atlas](https://www.mongodb.com/cloud/atlas).
58
-
*`LOG_URL` - The url of your log viewer heroku app (`https://yourlogviewerappname.herokuapp.com`)
57
+
*`MONGO_URI` - MongoDB connection URI, you can get a free 500 MB cluster from [MongoDB Atlas](https://www.mongodb.com/cloud/atlas).
58
+
*`LOG_URL` - The URL of your log viewer Heroku app (`https://yourlogviewerappname.herokuapp.com`)
59
59
60
-
You also need to create a separate heroku app for the log viewer that you can deploy from [here](https://github.com/kyb3r/logviewer).
60
+
You also need to create a separate Heroku app for the log viewer that you can deploy from [here](https://github.com/kyb3r/logviewer).
61
61
62
62
## Features and Commands
63
63
The bot comes with a plethora of useful functionality. Take a look at the [list of commands](https://github.com/kyb3r/modmail/wiki/Features-and-commands).
64
64
65
65
66
66
### Automatic Updates
67
-
The bot checks for new updates every hour and automatically updates to a newer version if found. This bot is under active development so you can always look forward to new, useful features! If you do not want this functionality, for example if you want to make changes to your fork, you can do so by adding a `disable_autoupdates` config variable.
67
+
The bot checks for new updates every hour and automatically updates to a newer version if found. This bot is under active development so you can always look forward to new, useful features! If you do not want this functionality, for example, if you want to make changes to your fork, you can do so by adding a `disable_autoupdates` config variable.
68
68
69
69
## Contributing
70
70
This project is licenced under MIT. If you have ideas for commands create an issue or pull request. Contributions are always welcome, whether it be documentation improvements or new functionality, please feel free to create a pull request.
0 commit comments