laniakea v0.6
This commit is contained in:
@@ -11,8 +11,8 @@ import (
|
||||
|
||||
func RegisterAi(bot *laniakea.Bot) {
|
||||
p := laniakea.NewPlugin("AI")
|
||||
p.Command(gpt, "gpt")
|
||||
bot.AddPlugins(p.Build())
|
||||
p.AddCommand(p.NewCommand(gpt, "gpt").SkipCommandAutoGen())
|
||||
bot.AddPlugins(p)
|
||||
}
|
||||
|
||||
func gpt(ctx *laniakea.MsgContext, db *laniakea.DatabaseContext) {
|
||||
|
||||
Reference in New Issue
Block a user