gosora/extend/plugin_adventure.go

30 lines
685 B
Go
Raw Normal View History

// WIP - Experimental adventure plugin, this might find a new home soon, but it's here to stress test Gosora's extensibility for now
package extend
2022-02-21 03:53:13 +00:00
import c "git.tuxpa.in/a/gosora/common"
func init() {
2022-02-21 03:53:13 +00:00
c.Plugins.Add(&c.Plugin{
UName: "adventure",
Name: "Adventure",
Tag: "WIP",
Author: "Azareal",
URL: "https://github.com/Azareal",
Init: initAdventure,
Deactivate: deactivateAdventure,
Install: installAdventure,
})
}
func initAdventure(pl *c.Plugin) error {
2022-02-21 03:53:13 +00:00
return nil
}
// TODO: Change the signature to return an error?
func deactivateAdventure(pl *c.Plugin) {
}
func installAdventure(pl *c.Plugin) error {
2022-02-21 03:53:13 +00:00
return nil
}