From 654cf6ced03bebab635927542637c2eccd52248f Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Sat, 23 Mar 2024 09:44:07 -0400 Subject: [PATCH] gpt: alias got for E --- plugins/gpt/gpt3.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/gpt/gpt3.go b/plugins/gpt/gpt3.go index bf34c10..06f1038 100644 --- a/plugins/gpt/gpt3.go +++ b/plugins/gpt/gpt3.go @@ -51,6 +51,12 @@ func (p *GPTPlugin) register() { HelpText: "chat completion", Handler: p.chatMessageForce, }, + { + Kind: bot.Message, IsCmd: true, + Regex: regexp.MustCompile(`(?is)^got (?P.*)`), + HelpText: "chat completion", + Handler: p.chatMessageForce, + }, { Kind: bot.Message, IsCmd: true, Regex: regexp.MustCompile(`(?is)^gpt-prompt: (?P.*)`),