From 92ce4979b45f83bd1bec9bc2b48ef1bc58ba45ef Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:37:52 -0500 Subject: [PATCH] gpt: rename directory --- main.go | 4 ++-- plugins/{gpt3 => gpt}/chatgpt.go | 2 +- plugins/{gpt3 => gpt}/gpt3.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename plugins/{gpt3 => gpt}/chatgpt.go (98%) rename plugins/{gpt3 => gpt}/gpt3.go (99%) diff --git a/main.go b/main.go index 924ed9f..b134a0e 100644 --- a/main.go +++ b/main.go @@ -4,6 +4,7 @@ package main import ( "flag" + "github.com/velour/catbase/plugins/gpt" "github.com/velour/catbase/plugins/pagecomment" "github.com/velour/catbase/plugins/talker" "github.com/velour/catbase/plugins/tappd" @@ -19,7 +20,6 @@ import ( "github.com/velour/catbase/bot/msg" "github.com/velour/catbase/connectors/discord" "github.com/velour/catbase/plugins/giphy" - "github.com/velour/catbase/plugins/gpt3" "github.com/velour/catbase/plugins/last" "github.com/velour/catbase/plugins/mayi" "github.com/velour/catbase/plugins/quotegame" @@ -135,7 +135,7 @@ func main() { b.AddPlugin(roles.New(b)) b.AddPlugin(twitch.New(b)) b.AddPlugin(pagecomment.New(b)) - b.AddPlugin(gpt3.New(b)) + b.AddPlugin(gpt.New(b)) b.AddPlugin(secrets.New(b)) b.AddPlugin(mayi.New(b)) b.AddPlugin(giphy.New(b)) diff --git a/plugins/gpt3/chatgpt.go b/plugins/gpt/chatgpt.go similarity index 98% rename from plugins/gpt3/chatgpt.go rename to plugins/gpt/chatgpt.go index 3555854..f7ea523 100644 --- a/plugins/gpt3/chatgpt.go +++ b/plugins/gpt/chatgpt.go @@ -1,4 +1,4 @@ -package gpt3 +package gpt import ( "context" diff --git a/plugins/gpt3/gpt3.go b/plugins/gpt/gpt3.go similarity index 99% rename from plugins/gpt3/gpt3.go rename to plugins/gpt/gpt3.go index c0b6182..10d37c8 100644 --- a/plugins/gpt3/gpt3.go +++ b/plugins/gpt/gpt3.go @@ -1,4 +1,4 @@ -package gpt3 +package gpt import ( "bytes"