1 Star 0 Fork 2

CYYYY/button

forked from 会飞的锤子/button 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
队伍伤害按钮.js 993 Bytes
一键复制 编辑 原始数据 按行查看 历史
会飞的锤子 提交于 2024-07-03 19:06 . 细节优化
export default class Button {
constructor() {
this.plugin = {
name: "队伍伤害",
dsc: "队伍伤害",
priority: 100,
rule: [
{
reg: /^#队伍伤害(详情|过程|全图)?(\d+)?(.*)$/,
fnc: 'buttonCenter'
},
{
reg: '^#成就(排行|排名|查询|统计)(.*)$',
fnc: 'buttonCenter'
},
{
reg: '^#宝箱(排行|排名|查询|统计)(.*)$',
fnc: 'buttonCenter'
}
]
}
}
async buttonCenter(e){
const list = [
[
{ label: '绑定UID', data: `#绑定` },
{ label: '更新面板', callback: `#更新面板` },
],[
{ label: '扫码绑定', callback: `#扫码绑定` },
{ label: '刷新CK', callback: `#刷新ck` },
],[
{ label: '队伍伤害', data: `#队伍伤害` },
]
]
return Bot.Button(list)
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/cyyyynb/button.git
git@gitee.com:cyyyynb/button.git
cyyyynb
button
button
master

搜索帮助