commands

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChatCommand added in v0.4.4

func ChatCommand(params *ChatCommandParams) *bot.Command

func ImageCommand added in v0.3.0

func ImageCommand(client *openai.Client) *bot.Command

func InfoCommand

func InfoCommand() *bot.Command

Types

type ChatCommandParams added in v0.4.4

type ChatCommandParams struct {
	OpenAIClient           *openai.Client
	OpenAICompletionModels []string
	GPTMessagesCache       *gpt.MessagesCache
	IgnoredChannelsCache   *gpt.IgnoredChannelsCache
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL