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
@ -890,8 +890,8 @@ class KickBanMixin(MixinMeta):
|
|||||||
|
|
||||||
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)
|
||||||
|
|||||||
@ -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)."
|
||||||
)
|
)
|
||||||
|
|||||||
@ -1117,6 +1117,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
The default is to use embeds.
|
The default is to use embeds.
|
||||||
|
|
||||||
The embed settings are checked until the first True/False in this order:
|
The embed settings are checked until the first True/False in this order:
|
||||||
|
|
||||||
- In guild context:
|
- In guild context:
|
||||||
1. Channel override - `[p]embedset channel`
|
1. Channel override - `[p]embedset channel`
|
||||||
2. Server command override - `[p]embedset command server`
|
2. Server command override - `[p]embedset command server`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user