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:
parent
1258496697
commit
2596b48bde
9 changed files with 65 additions and 52 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue