153
个编辑
Lambda.cat(讨论 | 贡献) 无编辑摘要 标签:2017年版源代码编辑 |
Lambda.cat(讨论 | 贡献) 无编辑摘要 标签:2017年版源代码编辑 |
||
第87行: | 第87行: | ||
"msg", "", "^/sc\\s+[千易]\\s+\\S+", "schm", ["$[2-]", "$1"] | "msg", "", "^/sc\\s+[千易]\\s+\\S+", "schm", ["$[2-]", "$1"] | ||
["me","msg"], "", "^ | ["me","msg"], "", "^ 歌( 單|单)\\s*$", "pndm", [] | ||
["me","msg"], "", "^ 切歌\\s*$", "nxtm", [] | |||
["me","msg"], "", "^ | ["msg","me"], "", "^ 插 播\\s+(\\D|\\d\\S)", "plym", ["$args"] | ||
["msg","me"], "", "^播 | ["me","msg"], "", "^ 播放\\+([123]?)\\s+(\\D|\\d\\S)", "pndm", ["$apply(args => [args[0], args[$str($_1) || 1]])","$args","Q","易","Y"] | ||
["me","msg"], "", "^ | ["me","msg"], "", "^ 播放\\s+(\\d\\s*)+$", "nop", ["$call((idxs)=>mapact('ashm', idxs.pysplit()))","$args"] | ||
["me","msg"], "", "^ 播放\\s+(\\d)\\s*-\\s*(\\d)\\s*$", "nop", ["$call((a, b)=>mapact('ashm', span(a,b)))","$_1","$_2"] | |||
["me","msg"], "", "^ | ["me","msg"], "", "^(历|歷)史\\s*$", "ashm", [""] | ||
["me","msg"], "", "^ | ["me","msg"], "", "^搜(索|尋|寻)([123]?)\\s+(\\d\\S|\\D)\\S*", "schm", ["$apply(args => [args[0], args[$str($_1) || 1]])","$args","Q","易","Y"] | ||
["me","msg"], "", "^刪除\\s+(\\d+\\s*)+$", "nop", ["$call((idxs)=>mapact('delm', idxs.pysplit().sort((a,b)=>b-a)))","$args"] | ["me","msg"], "", "^( 刪|删) 除\\s+(\\d+\\s*)+$", "nop", ["$call((idxs)=>mapact('delm', idxs.pysplit().sort((a,b)=>b-a)))","$args"] | ||
["me","msg"], "", "^手(冊|册)\\s*$", "msg", [" 插播 keyword\n 播放 (keyword|...number|number - number)\n 刪(删)除 (...number)\n 切歌 \n 搜索(尋)(寻)\n 歷(历)史 \n 歌單(单)\n 手冊(册)"] | |||
</syntaxhighlight>可以由以下訊息調用<syntaxhighlight lang="bash"> | </syntaxhighlight>可以由以下訊息調用<syntaxhighlight lang="bash"> | ||
/play 剛好遇見你 | /play 剛好遇見你 |
个编辑