代码调整

master
yin5th 2021-11-24 21:09:21 +08:00
parent a2d696e5c8
commit 1880e32597
1 changed files with 2 additions and 3 deletions

View File

@ -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) {