代码调整
parent
a2d696e5c8
commit
1880e32597
|
@ -31,7 +31,7 @@ function getEvent(name) {
|
|||
|
||||
// 随机选择镜头
|
||||
function scale() {
|
||||
return list[Math.floor(Math.random() * list.length)];
|
||||
return list[Math.floor(Math.random() * 3)];
|
||||
}
|
||||
|
||||
// 字符串包含的事件 (仅取第一个)
|
||||
|
@ -65,7 +65,7 @@ function music() {
|
|||
$.get('https://bili.scdxtc.cn', function (res) {
|
||||
musicList = res
|
||||
if (musicList.length > 0) {
|
||||
$('#music source').attr('src', 'https://bili.scdxtc.cn/music/'+musicList[15])
|
||||
$('#music source').attr('src', 'https://bili.scdxtc.cn/music/'+musicList[0])
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@ -113,7 +113,6 @@ function receiveMessage(event)
|
|||
return false
|
||||
}
|
||||
adminList = ['内有猛犬小心','热心市民阿狄呐','流域_墨绿绿'];
|
||||
adminList = ['yin5th','热心市民阿狄呐','流域_墨绿绿'];
|
||||
// adminList = ['饺子吃肉肉'];
|
||||
// 大航海列表
|
||||
if (adminList.length > 0) {
|
||||
|
|
Loading…
Reference in New Issue