Skip to content

Commit 3e942e1

Browse files
committed
Add aliases for plugin commands
1 parent 5f3bd34 commit 3e942e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogs/plugins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async def plugin(self, ctx):
137137
"""Plugin handler. Controls the plugins in the bot."""
138138
await ctx.send_help(ctx.command)
139139

140-
@plugin.command(name='add')
140+
@plugin.command(name='add', aliases=['install'])
141141
@checks.has_permissions(PermissionLevel.OWNER)
142142
async def plugin_add(self, ctx, *, plugin_name: str):
143143
"""Add a plugin."""
@@ -259,7 +259,7 @@ async def plugin_update(self, ctx, *, plugin_name: str):
259259
except DownloadError as exc:
260260
await ctx.send(f'Unable to start plugin: `{exc}`.')
261261

262-
@plugin.command(name='enabled')
262+
@plugin.command(name='enabled', aliases=['installed'])
263263
@checks.has_permissions(PermissionLevel.OWNER)
264264
async def plugin_enabled(self, ctx):
265265
"""Shows a list of currently enabled plugins."""

0 commit comments

Comments
 (0)