Skip to content

Commit cfedecb

Browse files
martinbndrsebkuip
andauthored
Fix Plugin Help (#3322)
* Updates Plugin Wiki Link As the github repo wiki got moved to the own docs page this link needs to be updated. I will update it accordingly if docs may change later. * Fix @local/name doc * Chnaged Plugin Help Link for #3322 Plugin Help link got moved again into a new page of the docs. --------- Co-authored-by: Sebastian <61157793+sebkuip@users.noreply.github.com>
1 parent 6e75c44 commit cfedecb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cogs/plugins.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class Plugins(commands.Cog):
113113
These addons could have a range of features from moderation to simply
114114
making your life as a moderator easier!
115115
Learn how to create a plugin yourself here:
116-
https://github.com/modmail-dev/modmail/wiki/Plugins
116+
https://docs.modmail.dev/usage-guide/plugins
117117
"""
118118

119119
def __init__(self, bot):
@@ -332,7 +332,7 @@ async def parse_user_input(self, ctx, plugin_name, check_version=False):
332332
embed = discord.Embed(
333333
description="Invalid plugin name, double check the plugin name "
334334
"or use one of the following formats: "
335-
"username/repo/plugin-name, username/repo/plugin-name@branch, local/plugin-name.",
335+
"username/repo/plugin-name, username/repo/plugin-name@branch, @local/plugin-name.",
336336
color=self.bot.error_color,
337337
)
338338
await ctx.send(embed=embed)
@@ -357,7 +357,7 @@ async def plugins_add(self, ctx, *, plugin_name: str):
357357
358358
`plugin_name` can be the name of the plugin found in `{prefix}plugin registry`,
359359
or a direct reference to a GitHub hosted plugin (in the format `user/repo/name[@branch]`)
360-
or `local/name` for local plugins.
360+
or `@local/name` for local plugins.
361361
"""
362362

363363
plugin = await self.parse_user_input(ctx, plugin_name, check_version=True)
@@ -444,7 +444,7 @@ async def plugins_remove(self, ctx, *, plugin_name: str):
444444
Remove an installed plugin of the bot.
445445
446446
`plugin_name` can be the name of the plugin found in `{prefix}plugin registry`, or a direct reference
447-
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `local/name` for local plugins.
447+
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `@local/name` for local plugins.
448448
"""
449449
plugin = await self.parse_user_input(ctx, plugin_name)
450450
if plugin is None:
@@ -526,7 +526,7 @@ async def plugins_update(self, ctx, *, plugin_name: str = None):
526526
Update a plugin for the bot.
527527
528528
`plugin_name` can be the name of the plugin found in `{prefix}plugin registry`, or a direct reference
529-
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `local/name` for local plugins.
529+
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `@local/name` for local plugins.
530530
531531
To update all plugins, do `{prefix}plugins update`.
532532
"""

0 commit comments

Comments
 (0)