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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 433 additions and 432 deletions

View File

@ -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)

View File

@ -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`