Skip to content

Commit 5170035

Browse files
martinbndrTaaku18
andauthored
Added Autoreact plugin (#3285)
* Added Autoreact plugin * Update changelog * black format (from a different pr's mistake) --------- Co-authored-by: Taku <[email protected]>
1 parent 40dff61 commit 5170035

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s
2121
- `?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))
2222
- `REGISTRY_PLUGINS_ONLY`, environment variable, when set, restricts to only allow adding registry plugins. ([PR #3247](https://github.com/modmail-dev/modmail/pull/3247))
2323
- `DISCORD_LOG_LEVEL` environment variable to set the log level of discord.py. ([PR #3216](https://github.com/modmail-dev/Modmail/pull/3216))
24+
- New registry plugin: [`autoreact`](https://github.com/martinbndr/kyb3r-modmail-plugins/tree/master/autoreact).
2425

2526
### Changed
2627
- Repo moved to https://github.com/modmail-dev/modmail.
@@ -32,8 +33,6 @@ however, insignificant breaking changes do not guarantee a major version bump, s
3233

3334
### Internal
3435
- Renamed `Bot.log_file_name` to `Bot.log_file_path`. Log files are now created at `temp/logs/modmail.log`. ([PR #3216](https://github.com/modmail-dev/Modmail/pull/3216))
35-
36-
### Internal
3736
- `ConfigManager.get` no longer accepts two positional arguments: the `convert` argument is now keyword-only.
3837

3938
# v4.0.2

cogs/plugins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ async def parse_user_input(self, ctx, plugin_name, check_version=False):
316316
if self.bot.config.get("registry_plugins_only"):
317317
embed = discord.Embed(
318318
description="This plugin is not in the registry. To install this plugin, "
319-
"you must set `REGISTRY_PLUGINS_ONLY=no` or remove this key in your .env file.",
319+
"you must set `REGISTRY_PLUGINS_ONLY=no` or remove this key in your .env file.",
320320
color=self.bot.error_color,
321321
)
322322
await ctx.send(embed=embed)

plugins/registry.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
"icon_url": "https://github.com/Jerrie-Aries.png",
1818
"thumbnail_url": "https://raw.githubusercontent.com/Jerrie-Aries/modmail-plugins/master/.static/announcement.jpg"
1919
},
20+
"autoreact": {
21+
"repository": "martinbndr/kyb3r-modmail-plugins",
22+
"branch": "master",
23+
"description": "Automatically reacts with emojis in certain channels.",
24+
"bot_version": "4.0.0",
25+
"title": "Autoreact",
26+
"icon_url": "https://raw.githubusercontent.com/martinbndr/kyb3r-modmail-plugins/master/autoreact/logo.png",
27+
"thumbnail_url": "https://raw.githubusercontent.com/martinbndr/kyb3r-modmail-plugins/master/autoreact/logo.png"
28+
},
2029
"giveaway": {
2130
"repository": "Jerrie-Aries/modmail-plugins",
2231
"branch": "master",

0 commit comments

Comments
 (0)