Skip to content

Commit

Permalink
Add plugin uninstall alias
Browse files Browse the repository at this point in the history
  • Loading branch information
raidensakura committed Jun 11, 2023
1 parent d8f79df commit cb634df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s
- Added discord.py and python version info in `?about` embed and credit for contributors.
- Support for trailing space in `?prefix` command, example: `?prefix "mm "` for `mm ping`.
- Added logviewer as built-in local plugin `?plugin load @local/logviewer`.
- `?plugin uninstall` is now an alias for `?plugin remove` ([GH #3260](https://github.com/modmail-dev/modmail/issues/3260))

### Changed
- Guild icons in embed footers and author urls now have a fixed size of 128. ([PR #3261](https://github.com/modmail-dev/modmail/pull/3261))
Expand Down
2 changes: 1 addition & 1 deletion cogs/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ async def plugins_add(self, ctx, *, plugin_name: str):
)
return await msg.edit(embed=embed)

@plugins.command(name="remove", aliases=["del", "delete"])
@plugins.command(name="remove", aliases=["del", "delete", "uninstall"])
@checks.has_permissions(PermissionLevel.OWNER)
async def plugins_remove(self, ctx, *, plugin_name: str):
"""
Expand Down

0 comments on commit cb634df

Please sign in to comment.