Skip to content

强大的 Mirai JavaScript 插件运行时

License

Notifications You must be signed in to change notification settings

missile-xuan/mirai-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mirai Js

强大的 Mirai JavaScript 插件运行时

使用JavaScript编写 Mirai 插件,支持与所有Mirai API直接交互,运行于JVM,支持Android环境。

使用须知

所有基于Mirai JsJavaScript插件必须遵循AGPL-v3协议开放源代码,详见 协议文本

API可能随时变动,请保持更新!

特性

  • 极简语法
  • 支持在JS启动协程
  • 不完整的 ES6 支持
  • 施主别着急,更多功能即将加入。先看看 例子 吧。

Mirai Js 插件管理器 jpm

  1. mirai-console 中键入 jpm 获得帮助
  2. jpm (JavaScript Plugin Manager) 可列出插件启用/停用/加载/卸载插件

jpm [list|enable|disable|load|unload] (插件 Id/文件名)

开源协议

Copyright (C) 2020 iTX Technologies

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

强大的 Mirai JavaScript 插件运行时

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%