improved simple fun

This commit is contained in:
2024-04-14 22:38:59 +02:00
parent d814d39cf1
commit f971c22e15
5 changed files with 5 additions and 18 deletions

View File

@@ -1,20 +1,10 @@
package main
import (
"github.com/disgoorg/disgo/events"
"github.com/sirupsen/logrus"
"github.com/vaporvee/acecore/cmd"
)
var Plugin = &cmd.Plugin{
Name: "Simple Fun",
Register: func(e *events.Ready) error {
app, err := e.Client().Rest().GetCurrentApplication()
if err != nil {
return err
}
logrus.Infof("%s has a working plugin called \"testplugin\"", app.Bot.Username)
return nil
},
Name: "Simple Fun",
Commands: []cmd.Command{cmd_ask, cmd_cat, cmd_dadjoke},
}