mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-01 02:51:25 +08:00
143 lines
2.9 KiB
JSON
143 lines
2.9 KiB
JSON
[
|
|
{
|
|
"type" : "function",
|
|
"function" : {
|
|
"name" : "marshoai-megakits__twisuki",
|
|
"description" : "介绍插件作者Twisuki(苏阳)"
|
|
}
|
|
},
|
|
{
|
|
"type" : "function",
|
|
"function" : {
|
|
"name" : "marshoai-megakits__megakits",
|
|
"description" : "介绍本插件MegaKits"
|
|
}
|
|
},
|
|
{
|
|
"type" : "function",
|
|
"function" : {
|
|
"name" : "marshoai-megakits__random_turntable",
|
|
"description" : "随机转盘, 玩家输入上下限(均为整数), 返回一个随机整数",
|
|
"parameters" : {
|
|
"type" : "object",
|
|
"properties" : {
|
|
"upper" : {
|
|
"type" : "integer",
|
|
"description" : "随机数上限"
|
|
},
|
|
"lower" : {
|
|
"type" : "integer",
|
|
"description" : "随机数下限"
|
|
}
|
|
}
|
|
},
|
|
"require" : [
|
|
"upper"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type" : "function",
|
|
"function" : {
|
|
"name" : "marshoai-megakits__number_calc",
|
|
"description" : "数字计算器, 可对整数 小数做加减乘除, 乘方 取余运算",
|
|
"parameters" : {
|
|
"type" : "object",
|
|
"properties" : {
|
|
"a" : {
|
|
"type" : "string",
|
|
"description" : "第一个运算数"
|
|
},
|
|
"b" : {
|
|
"type" : "string",
|
|
"description" : "第二个运算数"
|
|
},
|
|
"op" : {
|
|
"type" : "string",
|
|
"description" : "运算符, 目前仅支持 + - * / %(取余) **(乘方)"
|
|
}
|
|
}
|
|
},
|
|
"require" : [
|
|
"a", "b", "op"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type" : "function",
|
|
"function" : {
|
|
"name" : "marshoai-megakits__morse_encrypt",
|
|
"description" : "摩尔斯电码加密, 输入一个字符串, 返回由.- 组成的摩尔斯电码",
|
|
"parameters" : {
|
|
"type" : "object",
|
|
"properties" : {
|
|
"msg" : {
|
|
"type" : "string",
|
|
"description" : "录入的字符串(包含字母, 数字, 部分标点符号(.:,;?='/!-_\"()$&@))"
|
|
}
|
|
},
|
|
"require" : [
|
|
"msg"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type" : "function",
|
|
"function" : {
|
|
"name" : "marshoai-megakits__morse_decrypt",
|
|
"description" : "摩尔斯电码解码, 输入一个字符串(由.- 组成), 返回由解码",
|
|
"parameters" : {
|
|
"type" : "object",
|
|
"properties" : {
|
|
"msg" : {
|
|
"type" : "string",
|
|
"description" : "录入的字符串(.- )"
|
|
}
|
|
},
|
|
"require" : [
|
|
"msg"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type" : "function",
|
|
"function" : {
|
|
"name" : "marshoai-megakits__nya_encode",
|
|
"description" : "转换为猫猫语",
|
|
"parameters" : {
|
|
"type" : "object",
|
|
"properties" : {
|
|
"msg" : {
|
|
"type" : "string",
|
|
"description" : "待转换的字符串"
|
|
}
|
|
},
|
|
"require" : [
|
|
"msg"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "marshoai-megakits__nya_decode",
|
|
"description": "翻译猫语",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"msg": {
|
|
"type": "string",
|
|
"description": "录入的猫语"
|
|
}
|
|
},
|
|
"require": [
|
|
"msg"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|