mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Fix visual issues with Discord's new Markdown (#6101)
Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
parent
7f820dab0c
commit
2386b8363f
@ -194,7 +194,7 @@ class Cleanup(commands.Cog):
|
|||||||
"""Delete the last X messages matching the specified text in the current channel.
|
"""Delete the last X messages matching the specified text in the current channel.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]cleanup text "test" 5`
|
- `[p]cleanup text "test" 5`
|
||||||
|
|
||||||
Remember to use double quotes.
|
Remember to use double quotes.
|
||||||
|
|
||||||
@ -254,8 +254,8 @@ class Cleanup(commands.Cog):
|
|||||||
"""Delete the last X messages from a specified user in the current channel.
|
"""Delete the last X messages from a specified user in the current channel.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]cleanup user @Twentysix 2`
|
- `[p]cleanup user @Twentysix 2`
|
||||||
- `[p]cleanup user Red 6`
|
- `[p]cleanup user Red 6`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -436,7 +436,7 @@ class Cleanup(commands.Cog):
|
|||||||
The first message ID should be the older message and the second one the newer.
|
The first message ID should be the older message and the second one the newer.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]cleanup between 123456789123456789 987654321987654321`
|
- `[p]cleanup between 123456789123456789 987654321987654321`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -483,7 +483,7 @@ class Cleanup(commands.Cog):
|
|||||||
"""Delete the last X messages in the current channel.
|
"""Delete the last X messages in the current channel.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]cleanup messages 26`
|
- `[p]cleanup messages 26`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -614,9 +614,9 @@ class Cleanup(commands.Cog):
|
|||||||
it is used for pattern matching - only messages containing the given text will be deleted.
|
it is used for pattern matching - only messages containing the given text will be deleted.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]cleanup self 6`
|
- `[p]cleanup self 6`
|
||||||
- `[p]cleanup self 10 Pong`
|
- `[p]cleanup self 10 Pong`
|
||||||
- `[p]cleanup self 7 "" True`
|
- `[p]cleanup self 7 "" True`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
|
|||||||
@ -402,7 +402,7 @@ class CustomCommands(commands.Cog):
|
|||||||
"""Add a simple custom command.
|
"""Add a simple custom command.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]customcom create simple yourcommand Text you want`
|
- `[p]customcom create simple yourcommand Text you want`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -447,9 +447,9 @@ class CustomCommands(commands.Cog):
|
|||||||
custom command.
|
custom command.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]customcom cooldown pingrole`
|
- `[p]customcom cooldown pingrole`
|
||||||
- `[p]customcom cooldown yourcommand 30`
|
- `[p]customcom cooldown yourcommand 30`
|
||||||
- `[p]cc cooldown mycommand 30 guild`
|
- `[p]cc cooldown mycommand 30 guild`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -492,7 +492,7 @@ class CustomCommands(commands.Cog):
|
|||||||
"""Delete a custom command.
|
"""Delete a custom command.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]customcom delete yourcommand`
|
- `[p]customcom delete yourcommand`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -510,7 +510,7 @@ class CustomCommands(commands.Cog):
|
|||||||
"""Edit a custom command.
|
"""Edit a custom command.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]customcom edit yourcommand Text you want`
|
- `[p]customcom edit yourcommand Text you want`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
|
|||||||
@ -486,8 +486,8 @@ class Downloader(commands.Cog):
|
|||||||
Install a group of dependencies using pip.
|
Install a group of dependencies using pip.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]pipinstall bs4`
|
- `[p]pipinstall bs4`
|
||||||
- `[p]pipinstall py-cpuinfo psutil`
|
- `[p]pipinstall py-cpuinfo psutil`
|
||||||
|
|
||||||
Improper usage of this command can break your bot, be careful.
|
Improper usage of this command can break your bot, be careful.
|
||||||
|
|
||||||
@ -526,8 +526,8 @@ class Downloader(commands.Cog):
|
|||||||
"""Add a new repo.
|
"""Add a new repo.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]repo add 26-Cogs https://github.com/Twentysix26/x26-Cogs`
|
- `[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 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).
|
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.
|
Remove repos and their files.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]repo delete 26-Cogs`
|
- `[p]repo delete 26-Cogs`
|
||||||
- `[p]repo delete 26-Cogs Laggrons-Dumb-Cogs`
|
- `[p]repo delete 26-Cogs Laggrons-Dumb-Cogs`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -639,7 +639,7 @@ class Downloader(commands.Cog):
|
|||||||
"""Show information about a repo.
|
"""Show information about a repo.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]repo info 26-Cogs`
|
- `[p]repo info 26-Cogs`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -667,9 +667,9 @@ class Downloader(commands.Cog):
|
|||||||
This will *not* update the cogs installed from those repos.
|
This will *not* update the cogs installed from those repos.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]repo update`
|
- `[p]repo update`
|
||||||
- `[p]repo update 26-Cogs`
|
- `[p]repo update 26-Cogs`
|
||||||
- `[p]repo update 26-Cogs Laggrons-Dumb-Cogs`
|
- `[p]repo update 26-Cogs Laggrons-Dumb-Cogs`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -768,8 +768,8 @@ class Downloader(commands.Cog):
|
|||||||
"""Install a cog from the given repo.
|
"""Install a cog from the given repo.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]cog install 26-Cogs defender`
|
- `[p]cog install 26-Cogs defender`
|
||||||
- `[p]cog install Laggrons-Dumb-Cogs say roleinvite`
|
- `[p]cog install Laggrons-Dumb-Cogs say roleinvite`
|
||||||
|
|
||||||
**Arguments**
|
**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)
|
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:
|
Example:
|
||||||
- `[p]cog installversion Broken-Repo e798cc268e199612b1316a3d1f193da0770c7016 cog_name`
|
- `[p]cog installversion Broken-Repo e798cc268e199612b1316a3d1f193da0770c7016 cog_name`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -919,8 +919,8 @@ class Downloader(commands.Cog):
|
|||||||
by Downloader.
|
by Downloader.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]cog uninstall defender`
|
- `[p]cog uninstall defender`
|
||||||
- `[p]cog uninstall say roleinvite`
|
- `[p]cog uninstall say roleinvite`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -990,8 +990,8 @@ class Downloader(commands.Cog):
|
|||||||
"""Pin cogs - this will lock cogs on their current version.
|
"""Pin cogs - this will lock cogs on their current version.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]cog pin defender`
|
- `[p]cog pin defender`
|
||||||
- `[p]cog pin outdated_cog1 outdated_cog2`
|
- `[p]cog pin outdated_cog1 outdated_cog2`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -1025,8 +1025,8 @@ class Downloader(commands.Cog):
|
|||||||
"""Unpin cogs - this will remove the update lock from those cogs.
|
"""Unpin cogs - this will remove the update lock from those cogs.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]cog unpin defender`
|
- `[p]cog unpin defender`
|
||||||
- `[p]cog unpin updated_cog1 updated_cog2`
|
- `[p]cog unpin updated_cog1 updated_cog2`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -1127,10 +1127,10 @@ class Downloader(commands.Cog):
|
|||||||
"""Update all cogs, or ones of your choosing.
|
"""Update all cogs, or ones of your choosing.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]cog update`
|
- `[p]cog update`
|
||||||
- `[p]cog update True`
|
- `[p]cog update True`
|
||||||
- `[p]cog update defender`
|
- `[p]cog update defender`
|
||||||
- `[p]cog update True defender`
|
- `[p]cog update True defender`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -1148,9 +1148,9 @@ class Downloader(commands.Cog):
|
|||||||
"""Update all cogs from repos of your choosing.
|
"""Update all cogs from repos of your choosing.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]cog updateallfromrepos 26-Cogs`
|
- `[p]cog updateallfromrepos 26-Cogs`
|
||||||
- `[p]cog updateallfromrepos True 26-Cogs`
|
- `[p]cog updateallfromrepos True 26-Cogs`
|
||||||
- `[p]cog updateallfromrepos Laggrons-Dumb-Cogs 26-Cogs`
|
- `[p]cog updateallfromrepos Laggrons-Dumb-Cogs 26-Cogs`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -1179,8 +1179,8 @@ class Downloader(commands.Cog):
|
|||||||
See `[p]cog installversion` for an explanation of `revision`.
|
See `[p]cog installversion` for an explanation of `revision`.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]cog updatetoversion Broken-Repo e798cc268e199612b1316a3d1f193da0770c7016 cog_name`
|
- `[p]cog updatetoversion Broken-Repo e798cc268e199612b1316a3d1f193da0770c7016 cog_name`
|
||||||
- `[p]cog updatetoversion True Broken-Repo 6107c0770ad391f1d3a6131b216991e862cc897e cog_name`
|
- `[p]cog updatetoversion True Broken-Repo 6107c0770ad391f1d3a6131b216991e862cc897e cog_name`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -1319,7 +1319,7 @@ class Downloader(commands.Cog):
|
|||||||
"""List all available cogs from a single repo.
|
"""List all available cogs from a single repo.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]cog list 26-Cogs`
|
- `[p]cog list 26-Cogs`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -1360,7 +1360,7 @@ class Downloader(commands.Cog):
|
|||||||
"""List information about a single cog.
|
"""List information about a single cog.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]cog info 26-Cogs defender`
|
- `[p]cog info 26-Cogs defender`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -1732,7 +1732,7 @@ class Downloader(commands.Cog):
|
|||||||
This will only work with loaded cogs.
|
This will only work with loaded cogs.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]findcog ping`
|
- `[p]findcog ping`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
|
|||||||
@ -185,8 +185,8 @@ class Economy(commands.Cog):
|
|||||||
"""Show the user's account balance.
|
"""Show the user's account balance.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]bank balance`
|
- `[p]bank balance`
|
||||||
- `[p]bank balance @Twentysix`
|
- `[p]bank balance @Twentysix`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -211,7 +211,7 @@ class Economy(commands.Cog):
|
|||||||
This will come out of your balance, so make sure you have enough.
|
This will come out of your balance, so make sure you have enough.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]bank transfer @Twentysix 500`
|
- `[p]bank transfer @Twentysix 500`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -244,9 +244,9 @@ class Economy(commands.Cog):
|
|||||||
Putting + or - signs before the amount will add/remove currency on the user's bank account instead.
|
Putting + or - signs before the amount will add/remove currency on the user's bank account instead.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]bank set @Twentysix 26` - Sets balance to 26
|
- `[p]bank set @Twentysix 26` - Sets balance to 26
|
||||||
- `[p]bank set @Twentysix +2` - Increases balance by 2
|
- `[p]bank set @Twentysix +2` - Increases balance by 2
|
||||||
- `[p]bank set @Twentysix -6` - Decreases balance by 6
|
- `[p]bank set @Twentysix -6` - Decreases balance by 6
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -412,9 +412,9 @@ class Economy(commands.Cog):
|
|||||||
Defaults to top 10.
|
Defaults to top 10.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]leaderboard`
|
- `[p]leaderboard`
|
||||||
- `[p]leaderboard 50` - Shows the top 50 instead of top 10.
|
- `[p]leaderboard 50` - Shows the top 50 instead of top 10.
|
||||||
- `[p]leaderboard 100 yes` - Shows the top 100 from all servers.
|
- `[p]leaderboard 100 yes` - Shows the top 100 from all servers.
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -535,7 +535,7 @@ class Economy(commands.Cog):
|
|||||||
"""Use the slot machine.
|
"""Use the slot machine.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]slot 50`
|
- `[p]slot 50`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -700,7 +700,7 @@ class Economy(commands.Cog):
|
|||||||
"""Set the minimum slot machine bid.
|
"""Set the minimum slot machine bid.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]economyset slotmin 10`
|
- `[p]economyset slotmin 10`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -735,7 +735,7 @@ class Economy(commands.Cog):
|
|||||||
"""Set the maximum slot machine bid.
|
"""Set the maximum slot machine bid.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]economyset slotmax 50`
|
- `[p]economyset slotmax 50`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -772,8 +772,8 @@ class Economy(commands.Cog):
|
|||||||
"""Set the cooldown for the slot machine.
|
"""Set the cooldown for the slot machine.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]economyset slottime 10`
|
- `[p]economyset slottime 10`
|
||||||
- `[p]economyset slottime 10m`
|
- `[p]economyset slottime 10m`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -795,8 +795,8 @@ class Economy(commands.Cog):
|
|||||||
"""Set the cooldown for the payday command.
|
"""Set the cooldown for the payday command.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]economyset paydaytime 86400`
|
- `[p]economyset paydaytime 86400`
|
||||||
- `[p]economyset paydaytime 1d`
|
- `[p]economyset paydaytime 1d`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -820,7 +820,7 @@ class Economy(commands.Cog):
|
|||||||
"""Set the amount earned each payday.
|
"""Set the amount earned each payday.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]economyset paydayamount 400`
|
- `[p]economyset paydayamount 400`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
@ -854,7 +854,7 @@ class Economy(commands.Cog):
|
|||||||
Only available when not using a global bank.
|
Only available when not using a global bank.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]economyset rolepaydayamount @Members 400`
|
- `[p]economyset rolepaydayamount @Members 400`
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
|
|||||||
@ -95,7 +95,7 @@ class Filter(commands.Cog):
|
|||||||
The default name used is *John Doe*.
|
The default name used is *John Doe*.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
- `[p]filterset defaultname Missingno`
|
- `[p]filterset defaultname Missingno`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -115,8 +115,8 @@ class Filter(commands.Cog):
|
|||||||
Set both to zero to disable autoban.
|
Set both to zero to disable autoban.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]filterset ban 5 5` - Ban users who say 5 filtered words in 5 seconds.
|
- `[p]filterset ban 5 5` - Ban users who say 5 filtered words in 5 seconds.
|
||||||
- `[p]filterset ban 2 20` - Ban users who say 2 filtered words in 20 seconds.
|
- `[p]filterset ban 2 20` - Ban users who say 2 filtered words in 20 seconds.
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -264,8 +264,8 @@ class Filter(commands.Cog):
|
|||||||
Use double quotes to add sentences.
|
Use double quotes to add sentences.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]filter channel add #channel word1 word2 word3`
|
- `[p]filter channel add #channel word1 word2 word3`
|
||||||
- `[p]filter channel add #channel "This is a sentence"`
|
- `[p]filter channel add #channel "This is a sentence"`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -293,8 +293,8 @@ class Filter(commands.Cog):
|
|||||||
Use double quotes to remove sentences.
|
Use double quotes to remove sentences.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]filter channel remove #channel word1 word2 word3`
|
- `[p]filter channel remove #channel word1 word2 word3`
|
||||||
- `[p]filter channel remove #channel "This is a sentence"`
|
- `[p]filter channel remove #channel "This is a sentence"`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -315,8 +315,8 @@ class Filter(commands.Cog):
|
|||||||
Use double quotes to add sentences.
|
Use double quotes to add sentences.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]filter add word1 word2 word3`
|
- `[p]filter add word1 word2 word3`
|
||||||
- `[p]filter add "This is a sentence"`
|
- `[p]filter add "This is a sentence"`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
@ -337,8 +337,8 @@ class Filter(commands.Cog):
|
|||||||
Use double quotes to remove sentences.
|
Use double quotes to remove sentences.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]filter remove word1 word2 word3`
|
- `[p]filter remove word1 word2 word3`
|
||||||
- `[p]filter remove "This is a sentence"`
|
- `[p]filter remove "This is a sentence"`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
||||||
|
|||||||
@ -889,9 +889,9 @@ class KickBanMixin(MixinMeta):
|
|||||||
"""Unban a user from this server.
|
"""Unban a user from this server.
|
||||||
|
|
||||||
Requires specifying the target user's ID. To find this, you may either:
|
Requires specifying the target user's ID. To find this, you may either:
|
||||||
1. Copy it from the mod log case (if one was created), or
|
1. Copy it from the mod log case (if one was created), or
|
||||||
2. enable developer mode, go to Bans in this server's settings, right-
|
2. Enable Developer Mode, go to Bans in this server's settings, right-click the user and select 'Copy ID'.
|
||||||
click the user and select 'Copy ID'."""
|
"""
|
||||||
guild = ctx.guild
|
guild = ctx.guild
|
||||||
author = ctx.author
|
author = ctx.author
|
||||||
audit_reason = get_audit_reason(ctx.author, reason, shorten=True)
|
audit_reason = get_audit_reason(ctx.author, reason, shorten=True)
|
||||||
|
|||||||
@ -473,8 +473,8 @@ class ModSettings(MixinMeta):
|
|||||||
"""Delete all stored usernames and nicknames.
|
"""Delete all stored usernames and nicknames.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `[p]modset deletenames` - Did not confirm. Shows the help message.
|
- `[p]modset deletenames` - Did not confirm. Shows the help message.
|
||||||
- `[p]modset deletenames yes` - Deletes all stored usernames and nicknames.
|
- `[p]modset deletenames yes` - Deletes all stored usernames and nicknames.
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
|
|||||||
@ -220,12 +220,12 @@ class Permissions(commands.Cog):
|
|||||||
"checking for the default restrictions of the command.\n"
|
"checking for the default restrictions of the command.\n"
|
||||||
"Global rules (set by the owner) are checked first, then rules set for servers. If "
|
"Global rules (set by the owner) are checked first, then rules set for servers. If "
|
||||||
"multiple global or server rules apply to the case, the order they are checked in is:\n"
|
"multiple global or server rules apply to the case, the order they are checked in is:\n"
|
||||||
" 1. Rules about a user.\n"
|
"1. Rules about a user.\n"
|
||||||
" 2. Rules about the voice/stage channel a user is connected to.\n"
|
"2. Rules about the voice/stage channel a user is connected to.\n"
|
||||||
" 3. Rules about the channel or a parent of the thread a command was issued in.\n"
|
"3. Rules about the channel or a parent of the thread a command was issued in.\n"
|
||||||
" 4. Rules about a role the user has (The highest role they have with a rule will be "
|
"4. Rules about a role the user has (The highest role they have with a rule will be "
|
||||||
"used).\n"
|
"used).\n"
|
||||||
" 5. Rules about the server a user is in (Global rules only).\n\n"
|
"5. Rules about the server a user is in (Global rules only).\n\n"
|
||||||
"For more details, please read the [official documentation]"
|
"For more details, please read the [official documentation]"
|
||||||
"(https://docs.discord.red/en/stable/cog_permissions.html)."
|
"(https://docs.discord.red/en/stable/cog_permissions.html)."
|
||||||
)
|
)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user