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"