mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 02:00:24 +00:00
✨ 修正
This commit is contained in:
@@ -4,11 +4,9 @@ import (
|
||||
zero "github.com/wdvxdr1123/ZeroBot"
|
||||
)
|
||||
|
||||
var m Control
|
||||
|
||||
func Register(service string, o *Options) *zero.Engine {
|
||||
engine := zero.New()
|
||||
m = *New(service, o)
|
||||
m := *New(service, o)
|
||||
engine.UsePreHandler(m.Handler())
|
||||
return engine
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user