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.

This commit is contained in:
parent
930b7ca6ed
commit
07e8784d2e
3 changed files with 18 additions and 6 deletions
|
@ -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}";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue