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
@@ -4,9 +4,199 @@ 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
+
8
+
# v2.19.1
9
+
10
+
### Changed
11
+
12
+
- Ability to force an update despite having the same version number. Helpful to keep up-to-date with the latest GitHub commit.
13
+
-`?update force`.
14
+
- Plugin developers now have a new event called `on_plugin_ready`, this is coroutine is awaited when all plugins are loaded. Use `on_plugin_ready` instead of `on_ready` since `on_ready` will not get called in plugins.
15
+
16
+
# v2.19.0
17
+
18
+
### What's new?
19
+
20
+
- New config variable `guild_age`, similar to `account_age`, `guild_age` sets a limit as to how long a user has to wait after they joined the server to message Modmail.
21
+
-`guild_age` can be set the same way as `account_age`.
22
+
23
+
# v2.18.5
24
+
25
+
Fix help command bug when using external plugins.
26
+
27
+
# v2.18.4
28
+
29
+
Fix the teams permission bug.
30
+
31
+
# v2.18.2
32
+
33
+
### Changed
34
+
35
+
Commands now have better error messages, instead of just sending the help message for a command when an argument fails to be converted to its specified object, the bot now says things like "User 'bob' not found" instead.
36
+
37
+
# v2.18.1
38
+
39
+
Un-deprecated the `OWNERS` config variable to support discord developer team accounts.
40
+
41
+
# v2.18.0
42
+
43
+
### New Permissions System
44
+
45
+
- A brand new permission system! Replacing the old guild-based permissions (ie. manage channels, manage messages), the new system enables you to customize your desired permission level specific to a command or a group of commands for a role or user.
46
+
- There are five permission groups/levels:
47
+
- Owner [5]
48
+
- Administrator [4]
49
+
- Moderator [3]
50
+
- Supporter [2]
51
+
- Regular [1]
52
+
53
+
### Usage
54
+
55
+
You may add a role or user to a permission group through any of the following methods:
To revoke permission, use `remove` instead of `add`.
67
+
68
+
To view all roles and users with permission for a permission group or command do:
69
+
-`?permissions get command command-name`
70
+
-`?permissions get level owner`
71
+
72
+
By default, all newly set up Modmail will have `OWNER` set to the owner of the bot, and `REGULAR` set to @everyone.
73
+
74
+
### Breaking
75
+
76
+
When updating to this version, all prior permission settings with guild-based permissions will be invalidated. You will need to convert to the above system.
77
+
`OWNERS` will also get removed, you will need to set owners through `?permissions add level owner 212931293123129` or any way listed above.
78
+
79
+
### New Command
80
+
81
+
- A `?delete` command, which is an alternative to manually deleting a message. This command is created to no longer require manage messages permission to recall thread messages.
82
+
83
+
### Changed
84
+
85
+
- The help message no longer conceals inaccessible commands due to check failures.
86
+
87
+
# v2.17.2
88
+
89
+
### Changed
90
+
91
+
- Logs search command will search through log keys as well now.
92
+
- For example, `?logs search e7499e82f8ff`.
93
+
94
+
# v2.17.1
95
+
### What's new?
96
+
97
+
Stricter fallback genesis embed search.
98
+
99
+
### Changed
100
+
How modmail checks if a channel is a thread:
101
+
102
+
1. First the bot checks if the channel topic is in the format `User ID: xxxx`, this means it is a thread.
103
+
2. If a channel topic is not found, the bot searches through message history of a channel to find the thread creation embed. This step should never yield a thread for a normal user, but in the case of a another bot messing up the channel topic (happened to a user before) this extra step was added.
104
+
105
+
106
+
# v2.17.0
107
+
108
+
### What's new?
109
+
110
+
Added a config option `reply_without_command` which when present, enables the bot to forward any message sent in a thread channel to the recipient. (Replying without using a command)
111
+
112
+
To enable this functionality, do `?config set reply_without_command true` and to disable it, use `?config del reply_without_command`.
113
+
114
+
115
+
### Changed
116
+
117
+
The `move` command now only requires `manage_messages` perms instead of `manage_channels`
118
+
119
+
# v2.16.1
120
+
121
+
### Fixed
122
+
123
+
An issue where a scheduled close would not execute over a long period of time if the recipient no shares any servers with the bot.
124
+
125
+
# v2.16.0
126
+
127
+
### Changed
128
+
129
+
All support for Modmail API (api.modmail.tk) has terminated.
130
+
If you're still using api.modmail.tk, you will need to migrate to the self-hosted database
131
+
option ASAP. Your bot will not work unless you switch to the self-hosted option. Refer to the
132
+
installation tutorial for information regarding self-hosted Modmail.
133
+
134
+
If a member leaves/joins (again) while they are a recipient of a thread, a message will be sent to notify you that this has occured.
135
+
136
+
# v2.15.1
137
+
138
+
### Fixed
139
+
140
+
Emergency patch of a SyntaxError.
141
+
142
+
# v2.15.0
143
+
144
+
### What's new?
145
+
146
+
Added the ability to change the default close message via the introduction of two config variables.
147
+
148
+
-`thread_close_response` - when someone closes the thread.
149
+
-`thread_self_close_response` - when the recipient closes their own thread.
150
+
151
+
They will be provided by string variables that you can incorporate into them:
152
+
153
+
-`closer` - the user object that closed the thread.
154
+
-`logkey` - the key for the thread logs e.g. (`5219ccc82ad4`)
155
+
-`loglink` - the full link to the thread logs e.g. (`https://logwebsite.com/logs/5219ccc82ad4`)
156
+
157
+
Example usage would be: ``?config set thread_close_message {closer.mention} closed the thread, here is the link to your logs: [**`{logkey}`**]({loglink})``
158
+
159
+
# v2.14.0
160
+
161
+
### What's new?
162
+
163
+
Added the ability to enable the recipient to close their own threads. This takes place in the form of a reaction that the user can click to close their thread. This functionality is now enabled by default.
164
+
165
+
To disable this, do `?config set disable_recipient_thread_close true`
166
+
167
+
### More Customisability!
168
+
169
+
More config variables have been added that you can edit.
170
+
171
+
-`close_emoji` - the emoji that the user can click on to close a thread. Defaults to a lock (🔒)
172
+
173
+
You now have complete control of the look of the thread creation and close embeds the users see.
174
+
175
+
-`thread_creation_title` - the title of the embed. Defaults to 'Thread Created'
176
+
-`thread_creation_footer` - the footer text in the embed. Defaults to 'Your message has been sent...'
177
+
-`thread_close_title` - the title of the embed. Defaults to 'Thread Closed'
178
+
-`thread_close_footer` - the footer text in the embed. Defaults to 'Replying will create a new thread'
179
+
180
+
# v2.13.13
181
+
182
+
### What's new?
183
+
184
+
Added the ability to disable the `sent_emoji` and `blocked_emoji` when a user messages modmail.
185
+
186
+
You can do this via `?config set sent_emoji disable`
187
+
188
+
### Fixed
189
+
190
+
The bot now handles having too many roles to show in the thread created embed.
191
+
192
+
# v2.13.12
193
+
### What's new?
194
+
195
+
Added image link in title in case discord fails to embed an image.
196
+
7
197
# v2.13.11
8
198
9
-
### Added
199
+
### What's new?
10
200
- Introduced a new configuration variable `account_age` for setting a minimum account creation age.
11
201
- Users blocked by this reason will be stored in `blocked` along with other reasons for being blocked.
12
202
-`account_age` needs to be an ISO-8601 Duration Format (examples: `P12DT3H` 12 days and 3 hours, `P3Y5M` 3 years and 5 months `PT4H14M999S` 4 hours 14 minutes and 999 seconds). https://en.wikipedia.org/wiki/ISO_8601#Durations.
@@ -37,7 +227,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
37
227
38
228
# v2.13.7
39
229
40
-
### Added
230
+
### What's new?
41
231
- The ability to enable typing interactions.
42
232
- If you want the bot to type in the thread channel if the user is also typing, add the config variable `user_typing` and set it to "yes" or "true". use `config del` to disable the functionality. The same thing in reverse is also possible if you want the user to see the bot type when someone is typing in the thread channel add the `mod_typing` config variable.
43
233
- New `status` command, change the bot's status to `online`, `idle`, `dnd`, `invisible`, or `offline`.
@@ -54,7 +244,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
54
244
55
245
# v2.13.5
56
246
57
-
### Added
247
+
### What's new?
58
248
- You will no longer need to view your bot debug logs from Heroku. `debug` will show you the recent logs within 24h through a series of embeds.
59
249
- If you don't mind your data (may or may not be limited to: user ID, guild ID, bot name) be on the internet, `debug hastebin` will upload a formatted logs file to https://hasteb.in.
60
250
-`debug clear` will clear the locally cached logs.
@@ -96,7 +286,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
96
286
97
287
# v2.13.0
98
288
99
-
### Added
289
+
### What's new?
100
290
- Plugins:
101
291
- Think of it like addons! Anyone (with the skills) can create a plugin, make it public and distribute it. Add a welcome message to Modmail, or moderation commands? It's all up to your imagination! Have a niche feature request that you think only your server would benefit from? Plugins are your go-to!
@@ -109,7 +299,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
109
299
110
300
# v2.12.4
111
301
112
-
### Added
302
+
### What's new?
113
303
- Named colors are now supported! Over 900 different common color names are recognized. A list of color names can be found in [core/_color_data.py](https://github.com/kyb3r/modmail/blob/master/core/_color_data.py).
114
304
- Named colors can be set the same way as hex. But this can only be done through `config set`, which means database modifications will not work.
115
305
- For example: `config set main_color yellowish green`.
@@ -136,7 +326,7 @@ Huge thanks to Sasiko for reporting these issues.
136
326
137
327
# v2.12.0
138
328
139
-
### Important
329
+
### Important
140
330
**In the future, the Modmail API (https://modmail.tk) will be deprecated. This is due to the fact that we are providing a free service without getting anything in return, and thus we do not have the resources to scale to accommodate for more users.
141
331
We recommend using your own database for logs. In the future you will soon get a `backup` command so you can download all your pre-existing data and migrate to your own database.**
142
332
@@ -146,7 +336,7 @@ We recommend using your own database for logs. In the future you will soon get a
146
336
- Bot owners get access to all commands regardless of server permissions.
147
337
- Blocked users no longer receive a message, only the blocked emoji will be sent.
148
338
149
-
### Added
339
+
### What's new?
150
340
-**Note:** The following commands only work if you are self-hosting your logs. We recommend you to use your own database.
151
341
- Log search queries, in the form of two new commands.
152
342
-`logs search [query]` - this searches all log messages for a query string.
@@ -159,7 +349,7 @@ We recommend using your own database for logs. In the future you will soon get a
159
349
160
350
# v2.11.0
161
351
162
-
### Added
352
+
### What's new?
163
353
-`loglink` command, returns the log link for the current thread.
164
354
165
355
# v2.10.2
@@ -174,7 +364,7 @@ We recommend using your own database for logs. In the future you will soon get a
174
364
175
365
# v2.10.0
176
366
177
-
### Added
367
+
### What's new?
178
368
-`anonreply` command to anonymously reply to the recipient.
179
369
The username of the anonymous user defaults to the `mod_tag` (the footer text of a mod reply message). The avatar defaults the guild icon URL. However you can change both of these via the `anon_username`, `anon_avatar_url` and `anon_tag` config variables.
180
370
@@ -191,7 +381,7 @@ The username of the anonymous user defaults to the `mod_tag` (the footer text of
191
381
### Changed
192
382
- Forgot to enable custom embed colors.
193
383
194
-
### Added
384
+
### What's new?
195
385
- Ability to set a custom `mod_tag` (the text in the footer of the mod reply embed, which by default says "Moderator")
196
386
197
387
# v2.9.2
@@ -203,7 +393,7 @@ The username of the anonymous user defaults to the `mod_tag` (the footer text of
203
393
### Fixed
204
394
- Bug where the close command wouldn't work if you didnt configure a log channel.
205
395
206
-
### Added
396
+
### What's new?
207
397
- Ability to set your own custom `mod_color` and `recipient_color` for the thread message embeds.
208
398
209
399
# v2.9.1
@@ -217,7 +407,7 @@ The username of the anonymous user defaults to the `mod_tag` (the footer text of
217
407
218
408
# v2.9.0
219
409
220
-
### Added
410
+
### What's new?
221
411
- New command `note` will add a system message to your thread logs. This is useful for noting the context of a conversation.
222
412
223
413
# v2.8.1
@@ -235,7 +425,7 @@ The username of the anonymous user defaults to the `mod_tag` (the footer text of
235
425
236
426
# v2.7.2
237
427
238
-
### Added
428
+
### What's new?
239
429
-`config options` command to see a list of valid config variables that you can modify.
240
430
241
431
### Security
@@ -280,7 +470,7 @@ Thread channels will now default to being private (`@everyone`'s read message pe
280
470
281
471
# v2.6.0
282
472
283
-
### Added
473
+
### What's new?
284
474
-`threads` is now a default alias to `logs`.
285
475
286
476
### Changed
@@ -330,7 +520,7 @@ Fixed a bug in activity command where it would fail to set the activity on bot r
330
520
331
521
# v2.4.2
332
522
333
-
### Added
523
+
### What's new?
334
524
- Ability to set your own Twitch URL for `streaming` activity status.
335
525
336
526
# v2.4.1
@@ -340,7 +530,7 @@ Fixed a bug in activity command where it would fail to set the activity on bot r
340
530
341
531
# v2.4.0
342
532
343
-
### Added
533
+
### What's new?
344
534
- Added the `activity` command for setting the activity
345
535
-[PR #131](https://github.com/kyb3r/modmail/pull/131#issue-244686818) this supports multiple activity types (`playing`, `watching`, `listening` and `streaming`).
346
536
@@ -350,7 +540,7 @@ Fixed a bug in activity command where it would fail to set the activity on bot r
350
540
351
541
# v2.3.0
352
542
353
-
### Added
543
+
### What's new?
354
544
- Ability to self-host logs.
355
545
356
546
### Changed
@@ -364,7 +554,7 @@ Fixed a bug in activity command where it would fail to set the activity on bot r
364
554
365
555
# v2.2.0
366
556
367
-
### Added
557
+
### What's new?
368
558
- Notify command `notify [role]`.
369
559
- Notify a given role or yourself to the next thread message received.
370
560
- Once a thread message is received you will be pinged once only.
@@ -383,7 +573,7 @@ Fixed a bug in activity command where it would fail to set the activity on bot r
383
573
384
574
# v2.1.0
385
575
386
-
### Added
576
+
### What's new?
387
577
- Ability to set a custom thread creation response message.
388
578
- Via `config set thread_creation_response [message]`.
389
579
@@ -401,7 +591,7 @@ Fixed a bug in activity command where it would fail to set the activity on bot r
401
591
402
592
# v2.0.9
403
593
404
-
### Added
594
+
### What's new?
405
595
- Support for custom blocked and sent emoji.
406
596
- Use the `config set blocked_emoji [emoji]` or `sent_emoji` commands.
407
597
@@ -411,7 +601,7 @@ Fixed a bug in activity command where it would fail to set the activity on bot r
411
601
412
602
# v2.0.8
413
603
414
-
### Added
604
+
### What's new?
415
605
- Added the ability to use your own log channel.
416
606
- You can do this via the `config set log_channel_id <id>` command.
417
607
- Added the ability to use your own main inbox category.
@@ -424,7 +614,7 @@ Fixed a bug in activity command where it would fail to set the activity on bot r
424
614
425
615
# v2.0.7
426
616
427
-
### Added
617
+
### What's new?
428
618
- Added a `changelog` command to view the bot's changelog within discord.
429
619
430
620
### Changed
@@ -488,7 +678,7 @@ Read the updated installation guide [here](https://github.com/kyb3r/modmail/wiki
488
678
### Fixed
489
679
-`status` command now changes playing status indefinitely.
0 commit comments