1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-30 19:19:54 +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

@ -13,4 +13,16 @@ public static class MarkdownExtensions
{
return $"- {text}";
}
/// <summary>
/// Formats a string to use Markdown Quote formatting.
/// </summary>
/// <param name="text">The input text to format.</param>
/// <returns>
/// A markdown-formatted quote string.
/// </returns>
public static string Quote(string text)
{
return $"> {text}";
}
}