Skip to content

Commit 59a2df0

Browse files
martinbndrsebkuip
authored andcommitted
Fix Plugin Help (modmail-dev#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 modmail-dev#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 88b93f1 commit 59a2df0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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):
@@ -353,7 +353,7 @@ async def parse_user_input(self, ctx, plugin_name, check_version=False):
353353
embed = discord.Embed(
354354
description="Invalid plugin name, double check the plugin name "
355355
"or use one of the following formats: "
356-
"username/repo/plugin-name, username/repo/plugin-name@branch, local/plugin-name.",
356+
"username/repo/plugin-name, username/repo/plugin-name@branch, @local/plugin-name.",
357357
color=self.bot.error_color,
358358
)
359359
await ctx.send(embed=embed)
@@ -378,7 +378,7 @@ async def plugins_add(self, ctx, *, plugin_name: str):
378378
379379
`plugin_name` can be the name of the plugin found in `{prefix}plugin registry`,
380380
or a direct reference to a GitHub hosted plugin (in the format `user/repo/name[@branch]`)
381-
or `local/name` for local plugins.
381+
or `@local/name` for local plugins.
382382
"""
383383

384384
plugin = await self.parse_user_input(ctx, plugin_name, check_version=True)
@@ -465,7 +465,7 @@ async def plugins_remove(self, ctx, *, plugin_name: str):
465465
Remove an installed plugin of the bot.
466466
467467
`plugin_name` can be the name of the plugin found in `{prefix}plugin registry`, or a direct reference
468-
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `local/name` for local plugins.
468+
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `@local/name` for local plugins.
469469
"""
470470
plugin = await self.parse_user_input(ctx, plugin_name)
471471
if plugin is None:
@@ -556,7 +556,7 @@ async def plugins_update(self, ctx, *, plugin_name: str = None):
556556
Update a plugin for the bot.
557557
558558
`plugin_name` can be the name of the plugin found in `{prefix}plugin registry`, or a direct reference
559-
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `local/name` for local plugins.
559+
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `@local/name` for local plugins.
560560
561561
To update all plugins, do `{prefix}plugins update`.
562562
"""

0 commit comments

Comments
 (0)