some fixes; in hub now pushes dev tag
This commit is contained in:
@@ -1 +1,13 @@
|
||||
package plugins
|
||||
|
||||
import "kurumibot/laniakea"
|
||||
|
||||
func RegisterService(bot *laniakea.Bot) {
|
||||
p := laniakea.NewPlugin("service")
|
||||
p = p.Payload(generalClose, "general.close")
|
||||
bot.AddPlugins(p.Build())
|
||||
}
|
||||
|
||||
func generalClose(ctx *laniakea.MsgContext, _ *laniakea.DatabaseContext) {
|
||||
ctx.CallbackDelete()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user