Skip to content

Commit 9f814f9

Browse files
committed
Fix @local/name doc
1 parent f392cec commit 9f814f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cogs/plugins.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ async def parse_user_input(self, ctx, plugin_name, check_version=False):
326326
embed = discord.Embed(
327327
description="Invalid plugin name, double check the plugin name "
328328
"or use one of the following formats: "
329-
"username/repo/plugin-name, username/repo/plugin-name@branch, local/plugin-name.",
329+
"username/repo/plugin-name, username/repo/plugin-name@branch, @local/plugin-name.",
330330
color=self.bot.error_color,
331331
)
332332
await ctx.send(embed=embed)
@@ -351,7 +351,7 @@ async def plugins_add(self, ctx, *, plugin_name: str):
351351
352352
`plugin_name` can be the name of the plugin found in `{prefix}plugin registry`,
353353
or a direct reference to a GitHub hosted plugin (in the format `user/repo/name[@branch]`)
354-
or `local/name` for local plugins.
354+
or `@local/name` for local plugins.
355355
"""
356356

357357
plugin = await self.parse_user_input(ctx, plugin_name, check_version=True)
@@ -435,7 +435,7 @@ async def plugins_remove(self, ctx, *, plugin_name: str):
435435
Remove an installed plugin of the bot.
436436
437437
`plugin_name` can be the name of the plugin found in `{prefix}plugin registry`, or a direct reference
438-
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `local/name` for local plugins.
438+
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `@local/name` for local plugins.
439439
"""
440440
plugin = await self.parse_user_input(ctx, plugin_name)
441441
if plugin is None:
@@ -515,7 +515,7 @@ async def plugins_update(self, ctx, *, plugin_name: str = None):
515515
Update a plugin for the bot.
516516
517517
`plugin_name` can be the name of the plugin found in `{prefix}plugin registry`, or a direct reference
518-
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `local/name` for local plugins.
518+
to a GitHub hosted plugin (in the format `user/repo/name[@branch]`) or `@local/name` for local plugins.
519519
520520
To update all plugins, do `{prefix}plugins update`.
521521
"""

0 commit comments

Comments
 (0)