UNPKG

pupbot-plugin-lottery-wife

Version:

随机抽老公/随机抽老婆的qq机器人pupbot插件.一些需改配置.如:抽老公还是抽老婆.配置会在README展现出来

30 lines (24 loc) 915 B
[![npm-version](https://img.shields.io/npm/v/pupbot-plugin-lottery-wife?color=527dec&label=pupbot-plugin-lottery-wife&style=flat-square)](https://npm.im/pupbot-plugin-lottery-wife) [![dm](https://shields.io/npm/dm/pupbot-plugin-lottery-wife?style=flat-square)](https://npm.im/pupbot-plugin-lottery-wife) ## pupbot随机抽插件 > 可随机抽老公/老婆,但需要改配置 ## 安装 ``` /plugin add lottery-wife ``` ## 启用 ``` /plugin on lottery-wife ``` ## 配置文件 > 注: 配置文件注释仅供参考, json配置文件中不应也不能出现注释 ``` { cmd: ["#抽老公", "#抽老婆"], // 触发词 lang: 'zh-cn', // 语言 sex: 0, //抽取的性别 0 -> 女性; 1 -> 男性 "enable-all-g": false, // 启用所有群聊 (true/false) "enable-g": [], // 启用的群聊(上面选项为false时生效) } ``` ## 指令 > 见配置文件 cmd 项