Skip to content

Commit

Permalink
Fixed the description of some config help descriptions having copy-pa…
Browse files Browse the repository at this point in the history
…ste errors (modmail-dev#3277)

* Added the option for secure_plugins_only

* Change config name

* Forgot to update app.json

* Forgot a period. Thanks taku :(

* Fixed some copy-paste errors in descriptions

* Update changelog

---------

Co-authored-by: Taku <[email protected]>
  • Loading branch information
2 people authored and raidensakura committed Apr 10, 2024
1 parent 6097ebc commit 3a9415e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s
- Cleanup imports after removing/unloading a plugin. ([PR #3226](https://github.com/modmail-dev/Modmail/pull/3226))
- Fixed a syntactic error in the close message when a thread is closed after a certain duration. ([PR #3233](https://github.com/modmail-dev/Modmail/pull/3233))
- Removed an extra space in the help command title when the command has no parameters. ([PR #3271](https://github.com/modmail-dev/Modmail/pull/3271))
- Corrected some incorrect config help descriptions. ([PR #3277](https://github.com/modmail-dev/Modmail/pull/3277))

### Added
- `?log key <key>` to retrieve the log link and view a preview using a log key. ([PR #3196](https://github.com/modmail-dev/Modmail/pull/3196))
Expand Down
6 changes: 3 additions & 3 deletions core/config_help.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"`{prefix}config set use_nickname_channel_name no`"
],
"notes": [
"This config is suitable for servers in Server Discovery to comply with channel name restrictions.",
"This config is NOT suitable for servers in Server Discovery to comply with channel name restrictions.",
"This cannot be applied with `use_timestamp_channel_name`, `use_random_channel_name` or `use_user_id_channel_name`.",
"See also: `use_timestamp_channel_name`, `use_user_id_channel_name`, `use_random_channel_name`."
]
Expand Down Expand Up @@ -864,7 +864,7 @@
"default": "\"{{moderator.name}} has added you to a Modmail thread.\"",
"description": "This is the message embed content sent to the recipient that is just added to a thread.",
"examples": [
"`{prefix}config set private_added_to_group_description Any message sent here will be sent to all otherthread recipients.`"
"`{prefix}config set private_added_to_group_response Any message sent here will be sent to all other thread recipients.`"
],
"notes": [
"You may use the `{{moderator}}` variable for access to the [Member](https://discordpy.readthedocs.io/en/latest/api.html#discord.Member) that added the user.",
Expand Down Expand Up @@ -936,7 +936,7 @@
"default": "\"{{moderator.name}} has removed you from the Modmail thread.\"",
"description": "This is the message embed content sent to the recipient that is just removed from a thread.",
"examples": [
"`{prefix}config set private_removed_from_group_description Bye`"
"`{prefix}config set private_removed_from_group_response Bye`"
],
"notes": [
"You may use the `{{moderator}}` variable for access to the [Member](https://discordpy.readthedocs.io/en/latest/api.html#discord.Member) that added the user.",
Expand Down

0 comments on commit 3a9415e

Please sign in to comment.