1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-29 18:49:53 +03:00

Redesign reminder-related commands (#321)

In this PR, I redesigned the reminder-related commands and they will now
have a quote block instead of a inline code block (to avoid some visual
bugs). Except /listremind. It just has the inline code block removed.

![image](3521af97-ee11-405f-8cc2-7bf9a747e757)
This commit is contained in:
Macintxsh 2024-07-03 22:12:32 +05:00 committed by GitHub
parent 930b7ca6ed
commit 07e8784d2e
Signed by: GitHub
GPG key ID: B5690EEEBB952194
3 changed files with 18 additions and 6 deletions

View file

@ -234,7 +234,7 @@ public sealed partial class MemberUpdateService : BackgroundService
}
var builder = new StringBuilder()
.AppendBulletPointLine(string.Format(Messages.DescriptionReminder, Markdown.InlineCode(reminder.Text)))
.AppendLine(MarkdownExtensions.Quote(reminder.Text))
.AppendBulletPointLine(string.Format(Messages.DescriptionActionJumpToMessage,
$"https://discord.com/channels/{guildId.Value}/{reminder.ChannelId}/{reminder.MessageId}"));