-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
125 changed files
with
4,869 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# kotori-core | ||
|
||
KotoriBot's Core Plugin,provide handle message event to normative command | ||
|
||
**Version:** 1.0.0 | ||
**Author:** himeno | ||
**License:** GPL-3.0 | ||
|
||
## List of command | ||
|
||
- /menu - Main menu | ||
- /cores - Core functions | ||
- /days - Daily tools | ||
- /querys - Query tools | ||
- /funs - Entertainment system | ||
- /imgs - Random images | ||
- /other - Other functions | ||
- /alias query - Query all command aliases^ | ||
- /alias add <alias> <...command> - Add command alias, supports parameters, no need for slash^ | ||
- /alias del <alias> - Delete command alias^ | ||
- /system 0 - Restart Go-cqHttp^^ | ||
- /system 1 - Restart Signature Server and Go-cqHttp^^ | ||
- /locale list - View bot's list of support languages^ | ||
- /locale set <locales> - Switching Bot Language^ | ||
- /core - View kotori-core core plugin statistics | ||
- /help <command=menu> - View command help information, no need for slash/ | ||
- /view - View Kotori-bot configuration | ||
- /plugin query <pluginId?> - View specified or all plugin information | ||
- /plugin ban <pluginId> - Disable specified plugin | ||
- /plugin unban <pluginId> - Enable specified plugin | ||
- /bot - View BOT information and running status | ||
- /status - View server running status | ||
- /about - Help information | ||
- /update - Check for updates | ||
|
||
## Lang Support | ||
|
||
- ja_JP | ||
- en_US | ||
- zh_TW | ||
- zh_CN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"core.temp.result.guide": "<name> represents a parameter, do not include \"<>\" when sending, use space to separate parameters\n\"?\" indicates an optional parameter, \"=xx\" means an optional parameter with default value, \"...\" means remaining parameters, meaning spaces in parameters will not affect command, \"*\" only available in group chat, \"#\" only available in private chat, \"^\" requires level 1 permission (group BOT admin and group admin), \"^^\" requires level 2 permission (BOT super admin)", | ||
"core.temp.result.data_error": "Data returned error! Please contact admin\nSource data: %res%", | ||
"core.temp.result.args.empty": "Input parameters cannot be empty", | ||
"core.temp.result.args.error": "Input parameter error, please modify and resend", | ||
"core.temp.result.unknown_error": "Unknown error: %error%", | ||
"core.temp.result.num.error": "Number error, please resend", | ||
"core.temp.result.num.choose": "Resend command and input [number] to choose corresponding content\nExample: /command content 2", | ||
"core.temp.result.no_access.1": "This command can only be executed by group admin and BOT group admin!", | ||
"core.temp.result.no_access.2": "This command can only be executed by BOT super admin!", | ||
"core.temp.result.disable": "This function is currently disabled, please contact admin to enable it", | ||
"core.temp.result.exist": "Input parameter target already exists, please do not repeat", | ||
"core.temp.result.no_esist": "Target parameter does not exist, please confirm and resend", | ||
"core.temp.result.repairing": "This function is under maintenance", | ||
"core.temp.result.apikey_error": "Please configure APIKEY first!", | ||
"core.temp.result.empty": "No content", | ||
"core.temp.result.message_type": "This function is only available in group chat or private chat", | ||
"core.temp.result.option.on": "√", | ||
"core.temp.result.option.off": "X", | ||
"core.temp.menu": "%HEAD%%list%\n%AUTHOR%", | ||
"core.temp.menu.list": "\n%name%%param% - %help%%scope%%access%", | ||
"core.temp.menu.param": " <%prefix%%param_name%%suffix%>", | ||
"core.temp.menu.param_name_default": "content", | ||
"core.temp.menu.prefix.rest": "...", | ||
"core.temp.menu.suffix.optional": "?", | ||
"core.temp.menu.suffix.default": "=%content%", | ||
"core.temp.menu.help": "%content%", | ||
"core.temp.menu.scope.private": "#", | ||
"core.temp.menu.scope.group": "*", | ||
"core.temp.menu.access.manger": "^", | ||
"core.temp.menu.access.admin": "^^", | ||
"core.menu.main.help": "Main menu", | ||
"core.menu.corecom.help": "Core functions", | ||
"core.menu.daytool.help": "Daily tools", | ||
"core.menu.querytool.help": "Query tools", | ||
"core.menu.funsys.help": "Entertainment system", | ||
"core.menu.random_img.help": "Random images", | ||
"core.menu.othercom.help": "Other functions", | ||
"core.descr.api": "View API site data", | ||
"core.msg.api": "%content%", | ||
"core.descr.alias.query": "Query all command aliases", | ||
"core.descr.alias.add": "Add command alias, supports parameters, no need for slash", | ||
"core.descr.alias.del": "Delete command alias", | ||
"core.msg.alias.query": "Alias list: %list%", | ||
"core.msg.alias.list": "\n%key% -> %val%", | ||
"core.msg.alias.add": "Succeeded in adding alias: %input%\nSend the alias to see the effect", | ||
"core.msg.alias.del": "Succeeded in deleting alias: %input%", | ||
"core.msg.alias.fail": "This command or alias is already registered", | ||
"core.msg.alias.fail.2": "Invalid command", | ||
"core.descr.system.0": "Restart Go-cqHttp", | ||
"core.descr.system.1": "Restart Signature Server and Go-cqHttp", | ||
"core.msg.system.fail": "Restart failed, Signserver or Go-cqHttp not found", | ||
"core.msg.system.info.0": "Restarting Go-cqHttp...", | ||
"core.msg.system.info.1": "Restarting Signserver and Go-cqHttp...", | ||
"core.msg.system.info.3": "Restart completed!", | ||
"core.descr.run.private": "Simulate running a private command", | ||
"core.descr.run.group": "Simulate running a group command", | ||
"core.msg.run": "Sent to target: %target%", | ||
"core.descr.locale.list": "View bot's list of support languages", | ||
"core.descr.locale.set": "Switching Bot Language", | ||
"core.msg.locale.lists": "List of support languages:%list%", | ||
"core.msg.locale.list": "\n%locale% - %name%", | ||
"core.msg.locale.locale.zh_cn": "简体中文(Simplified Chinese)", | ||
"core.msg.locale.locale.zh_tw": "繁體中文(Traditional Chinese)", | ||
"core.msg.locale.locale.en_us": "English(English)", | ||
"core.msg.locale.locale.ja_jp": "日本語(Japanese)", | ||
"core.msg.locale.set": "Succeeded in switching to locale %locale%\nTotal number of switching Locales: %total%\nNumber of valid Locales: %success%", | ||
"core.msg.locale.fail": "Switch failed, please enter \"/locale list\" to view the list of languages supported by the BOT", | ||
"core.descr.core": "View kotori-core core plugin statistics", | ||
"core.msg.core": "Total number of registered commands: %commands%", | ||
"core.descr.help": "View command help information, no need for slash/", | ||
"core.msg.help": "Help: %content%\n%GUIDE%\nFor detailed BOT usage documentation please check:\n%DOC%", | ||
"core.msg.descr.fail": "Invalid command", | ||
"core.descr.view": "View Kotori-bot configuration", | ||
"core.msg.view": "Connection mode: %mode%\n%mode_content%\n------\nGo-cqHttp path: %program%\nStartup parameters: %params%\nSignature server path: %signserver%\n------\nMaster: %master%\nPrivate chat filtering: %user%%user_list%\nGroup chat filtering: %group%%group_list%", | ||
"core.msg.view.mode.http": "Forward Http address: %url%\nForward Http port: %port%\nReverse Http port: %reverse_port%\nReconnect interval: %retry_time% seconds", | ||
"core.msg.view.mode.ws": "WebSocket address: %url%\nWebSocket port: %port%\nReconnect interval: %retry_time% seconds", | ||
"core.msg.view.mode.wsreverse": "WebSocket reverse port: %port%", | ||
"core.msg.view.user.white": "\nPrivate chat whitelist:\n%list%\b ", | ||
"core.msg.view.user.black": "\nPrivate chat blacklist:\n%list%\b ", | ||
"core.msg.view.group.white": "\nGroup chat whitelist:\n%list%\b ", | ||
"core.msg.view.group.black": "\nGroup chat blacklist:\n%list%\b ", | ||
"core.msg.view.list": "%content%,", | ||
"core.descr.plugin.query": "View specified or all plugin information", | ||
"core.descr.plugin.ban": "Disable specified plugin", | ||
"core.descr.plugin.unban": "Enable specified plugin", | ||
"core.msg.plugin.query": "Plugin information:\nTotal plugins: %num%%list%", | ||
"core.msg.plugin.fail": "Plugin [%target%] not found", | ||
"core.msg.plugin.list": "\n------\nPlugin Id: %id%\nPlugin name: %name%\nPlugin version: %version%\nPlugin description: %description%\nPlugin author: %author%\nPlugin license: %license%\nPlugin status: %state%", | ||
"core.msg.plugin.ban": "Succeeded in disabling plugin [%id%], restart to take effect", | ||
"core.msg.plugin.unban": "Succeeded in enabling plugin [%id%], restart to take effect", | ||
"core.descr.bot": "View BOT info and status", | ||
"core.msg.bot": "BOT Info\nBOT QQ: %self_id%\nConnect time: %connect%\nPackets received: %packet_received%\nPackets sent: %packet_sent%\nPackets lost: %packet_lost%\nMessages received: %message_received%\nMessages sent: %message_sent%\nLost connections: %lost_times%\nDisconnects: %disconnect_times%\nLast message time: %last_message_time%\n%AUTHOR%", | ||
"core.descr.env": "View environment info", | ||
"core.msg.env": "Environment Info\nNode version: %node%\nTypeScript version: %typescript%\nTsNode version: %tsnode%\n%AUTHOR%", | ||
"core.descr.ver": "View version info", | ||
"core.msg.ver": "KotoriBot version: %version%\nLicense: %license%\n%AUTHOR%", | ||
"core.descr.status": "View server running status", | ||
"core.msg.status": "Server status\nKernel: %type%\nPlatform: %platform%\nCPU architecture: %arch%\nCPU model: %model%\nCPU speed: %speed%GHz\nCPU cores: %num%\nCPU usage: %cpu_rate%%\nTotal memory: %total%GB\nAvailable memory: %used%GB\nMemory usage: %ram_rate%%\nNetwork cards: %network%\nUptime: %time%\nHostname: %hostname%\nHome dir: %homedir%\n%AUTHOR%", | ||
"core.descr.about": "Help information", | ||
"core.msg.about": "KotoriBot is a NodeJS+TypeScript SDK and bot framework implementation for go-cqhttp\nSource code: %REPO%\nLeave the poor 🦊 a star\n\nCurrent bot framework version: %version%\nFramework license: %license%\n%AVATAR%\n%AUTHOR%", | ||
"core.descr.update": "Check for updates", | ||
"core.msg.update": "Current version: %version%\n%content%", | ||
"core.msg.update.yes": "Already latest version!", | ||
"core.msg.update.no": "Update detected!\nLatest version: %version%\nPlease get the latest version from Github repo:\n%REPO%" | ||
} |
Oops, something went wrong.