From 8a1d1f88d5f917fa167fc757259091cb8cfa693d Mon Sep 17 00:00:00 2001 From: sourcebunny Date: Mon, 15 Apr 2024 21:28:04 -0700 Subject: [PATCH] add reply back to system command --- nisaba.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nisaba.go b/nisaba.go index 96c43f0..968cd78 100644 --- a/nisaba.go +++ b/nisaba.go @@ -474,6 +474,7 @@ func handleCommands(bot *Bot, command, query, user string) { case "!system": newSystemMessage := Message{Role: "system", Content: query} saveMessageHistory([]Message{newSystemMessage}) + bot.IRCConnection.Privmsg(bot.Config.Channel, fmt.Sprintf("%s: Specified system prompt will be attached to the next message.", user)) case "!options": optionsFile := fmt.Sprintf("options.%s.json", query) newOptions, err := loadOptions(optionsFile)