Fix visual issues with Discord's new Markdown (#6101)

Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
Vexed
2023-05-13 11:39:57 +01:00
committed by GitHub
parent 7f820dab0c
commit 2386b8363f
9 changed files with 433 additions and 432 deletions

View File

@@ -486,8 +486,8 @@ class Downloader(commands.Cog):
Install a group of dependencies using pip.
Examples:
- `[p]pipinstall bs4`
- `[p]pipinstall py-cpuinfo psutil`
- `[p]pipinstall bs4`
- `[p]pipinstall py-cpuinfo psutil`
Improper usage of this command can break your bot, be careful.
@@ -526,8 +526,8 @@ class Downloader(commands.Cog):
"""Add a new repo.
Examples:
- `[p]repo add 26-Cogs https://github.com/Twentysix26/x26-Cogs`
- `[p]repo add Laggrons-Dumb-Cogs https://github.com/retke/Laggrons-Dumb-Cogs v3`
- `[p]repo add 26-Cogs https://github.com/Twentysix26/x26-Cogs`
- `[p]repo add Laggrons-Dumb-Cogs https://github.com/retke/Laggrons-Dumb-Cogs v3`
Repo names can only contain characters A-z, numbers, underscores, hyphens, and dots (but they cannot start or end with a dot).
@@ -597,8 +597,8 @@ class Downloader(commands.Cog):
Remove repos and their files.
Examples:
- `[p]repo delete 26-Cogs`
- `[p]repo delete 26-Cogs Laggrons-Dumb-Cogs`
- `[p]repo delete 26-Cogs`
- `[p]repo delete 26-Cogs Laggrons-Dumb-Cogs`
**Arguments**
@@ -639,7 +639,7 @@ class Downloader(commands.Cog):
"""Show information about a repo.
Example:
- `[p]repo info 26-Cogs`
- `[p]repo info 26-Cogs`
**Arguments**
@@ -667,9 +667,9 @@ class Downloader(commands.Cog):
This will *not* update the cogs installed from those repos.
Examples:
- `[p]repo update`
- `[p]repo update 26-Cogs`
- `[p]repo update 26-Cogs Laggrons-Dumb-Cogs`
- `[p]repo update`
- `[p]repo update 26-Cogs`
- `[p]repo update 26-Cogs Laggrons-Dumb-Cogs`
**Arguments**
@@ -768,8 +768,8 @@ class Downloader(commands.Cog):
"""Install a cog from the given repo.
Examples:
- `[p]cog install 26-Cogs defender`
- `[p]cog install Laggrons-Dumb-Cogs say roleinvite`
- `[p]cog install 26-Cogs defender`
- `[p]cog install Laggrons-Dumb-Cogs say roleinvite`
**Arguments**
@@ -792,7 +792,7 @@ class Downloader(commands.Cog):
Older revisions can be found in the URL bar by [viewing the commit history of any repo](https://cdn.discordapp.com/attachments/133251234164375552/775760247787749406/unknown.png)
Example:
- `[p]cog installversion Broken-Repo e798cc268e199612b1316a3d1f193da0770c7016 cog_name`
- `[p]cog installversion Broken-Repo e798cc268e199612b1316a3d1f193da0770c7016 cog_name`
**Arguments**
@@ -919,8 +919,8 @@ class Downloader(commands.Cog):
by Downloader.
Examples:
- `[p]cog uninstall defender`
- `[p]cog uninstall say roleinvite`
- `[p]cog uninstall defender`
- `[p]cog uninstall say roleinvite`
**Arguments**
@@ -990,8 +990,8 @@ class Downloader(commands.Cog):
"""Pin cogs - this will lock cogs on their current version.
Examples:
- `[p]cog pin defender`
- `[p]cog pin outdated_cog1 outdated_cog2`
- `[p]cog pin defender`
- `[p]cog pin outdated_cog1 outdated_cog2`
**Arguments**
@@ -1025,8 +1025,8 @@ class Downloader(commands.Cog):
"""Unpin cogs - this will remove the update lock from those cogs.
Examples:
- `[p]cog unpin defender`
- `[p]cog unpin updated_cog1 updated_cog2`
- `[p]cog unpin defender`
- `[p]cog unpin updated_cog1 updated_cog2`
**Arguments**
@@ -1127,10 +1127,10 @@ class Downloader(commands.Cog):
"""Update all cogs, or ones of your choosing.
Examples:
- `[p]cog update`
- `[p]cog update True`
- `[p]cog update defender`
- `[p]cog update True defender`
- `[p]cog update`
- `[p]cog update True`
- `[p]cog update defender`
- `[p]cog update True defender`
**Arguments**
@@ -1148,9 +1148,9 @@ class Downloader(commands.Cog):
"""Update all cogs from repos of your choosing.
Examples:
- `[p]cog updateallfromrepos 26-Cogs`
- `[p]cog updateallfromrepos True 26-Cogs`
- `[p]cog updateallfromrepos Laggrons-Dumb-Cogs 26-Cogs`
- `[p]cog updateallfromrepos 26-Cogs`
- `[p]cog updateallfromrepos True 26-Cogs`
- `[p]cog updateallfromrepos Laggrons-Dumb-Cogs 26-Cogs`
**Arguments**
@@ -1179,8 +1179,8 @@ class Downloader(commands.Cog):
See `[p]cog installversion` for an explanation of `revision`.
Examples:
- `[p]cog updatetoversion Broken-Repo e798cc268e199612b1316a3d1f193da0770c7016 cog_name`
- `[p]cog updatetoversion True Broken-Repo 6107c0770ad391f1d3a6131b216991e862cc897e cog_name`
- `[p]cog updatetoversion Broken-Repo e798cc268e199612b1316a3d1f193da0770c7016 cog_name`
- `[p]cog updatetoversion True Broken-Repo 6107c0770ad391f1d3a6131b216991e862cc897e cog_name`
**Arguments**
@@ -1319,7 +1319,7 @@ class Downloader(commands.Cog):
"""List all available cogs from a single repo.
Example:
- `[p]cog list 26-Cogs`
- `[p]cog list 26-Cogs`
**Arguments**
@@ -1360,7 +1360,7 @@ class Downloader(commands.Cog):
"""List information about a single cog.
Example:
- `[p]cog info 26-Cogs defender`
- `[p]cog info 26-Cogs defender`
**Arguments**
@@ -1732,7 +1732,7 @@ class Downloader(commands.Cog):
This will only work with loaded cogs.
Example:
- `[p]findcog ping`
- `[p]findcog ping`
**Arguments**