gpt: alias got for E

This commit is contained in:
Chris Sexton 2024-03-23 09:44:07 -04:00
parent e2107ae4aa
commit 654cf6ced0
1 changed files with 6 additions and 0 deletions

View File

@ -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<text>.*)`),
HelpText: "chat completion",
Handler: p.chatMessageForce,
},
{
Kind: bot.Message, IsCmd: true,
Regex: regexp.MustCompile(`(?is)^gpt-prompt: (?P<text>.*)`),