x
This commit is contained in:
@@ -399,6 +399,9 @@ func SetPluginMethod(vm *goja.Runtime, uuid string, on_start bool) {
|
||||
return promise
|
||||
})
|
||||
vm.Set("request", request)
|
||||
vm.Set("getReplyMessage", func(plt string, bots_id []string) *goja.Promise {
|
||||
return GetReplyMessage(vm, plt, bots_id)
|
||||
})
|
||||
}
|
||||
|
||||
func EncryptPlugin(script string) string {
|
||||
|
||||
Reference in New Issue
Block a user