1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-02 03:59:53 +03:00

Keep reply emojis as consts in a separate class (#8)

This commit is contained in:
Macintxsh 2022-12-06 18:33:46 +03:00 committed by GitHub
parent 1258496697
commit 2596b48bde
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 65 additions and 52 deletions

View file

@ -1,4 +1,4 @@
using Humanizer;
using Humanizer;
namespace Boyfriend.Commands;
@ -12,7 +12,7 @@ public sealed class HelpCommand : ICommand {
foreach (var command in CommandProcessor.Commands)
toSend.Append(
$"\n`{prefix}{command.Aliases[0]}`: {Utils.GetMessage($"CommandDescription{command.Aliases[0].Titleize()}")}");
cmd.Reply(toSend.ToString(), ":page_facing_up: ");
cmd.Reply(toSend.ToString(), ReplyEmojis.Help);
toSend.Clear();
return Task.CompletedTask;