Back to OpenAI for cost LOL

This commit is contained in:
2024-02-23 13:52:15 -07:00
parent 02686b9087
commit a9f2f42987
8 changed files with 118 additions and 280 deletions

12
main.go
View File

@ -31,17 +31,6 @@ var commands = []api.CreateCommandData{
},
},
},
{
Name: "code",
Description: "Ask Himbot programming questions! Cooldown: 2 Minutes.",
Options: []discord.CommandOption{
&discord.StringOption{
OptionName: "prompt",
Description: "The prompt to send to Himbot.",
Required: true,
},
},
},
{
Name: "pic",
Description: "Generate an image! Cooldown: 1 Minute.",
@ -107,7 +96,6 @@ func newHandler(s *state.State) *handler {
h.Use(cmdroute.Deferrable(s, cmdroute.DeferOpts{}))
h.AddFunc("ping", command.Ping)
h.AddFunc("ask", command.Ask)
h.AddFunc("code", command.Code)
h.AddFunc("pic", command.Pic)
h.AddFunc("hs", command.HS)