From 699a93200bdb00fd046cab310316cc3f1f956c83 Mon Sep 17 00:00:00 2001 From: Daan Boerlage Date: Sun, 14 Nov 2021 01:18:36 +0100 Subject: [PATCH] Port the emojify command to / commands --- src/Web/Commands/Emojify.cs | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/Web/Commands/Emojify.cs diff --git a/src/Web/Commands/Emojify.cs b/src/Web/Commands/Emojify.cs new file mode 100644 index 0000000..de4a5a4 --- /dev/null +++ b/src/Web/Commands/Emojify.cs @@ -0,0 +1,37 @@ +using Geekbot.Core.Converters; +using Geekbot.Interactions; +using Geekbot.Interactions.ApplicationCommand; +using Geekbot.Interactions.Request; +using Geekbot.Interactions.Response; + +namespace Geekbot.Web.Commands; + +public class Emojify : InteractionBase +{ + private struct Options + { + public const string Text = "text"; + } + + public override Command GetCommandInfo() => new () + { + Name = "emojify", + Description = "Transcribe text into emojis", + Type = CommandType.ChatInput, + Options = new List