forked from mirrors/misskey
enhance(frontend): update aiscript to 1.1.0
This commit is contained in:
@@ -88,7 +88,7 @@ let choices = [
|
||||
]
|
||||
|
||||
// シードが「PlayID+ユーザーID+今日の日付」である乱数生成器を用意
|
||||
let random = Math:gen_rng(\`{THIS_ID}{USER_ID}{Date:year()}{Date:month()}{Date:day()}\`, { algorithm: 'rc4_legacy' })
|
||||
let random = Math:gen_rng(\`{THIS_ID}{USER_ID}{Date:year()}{Date:month()}{Date:day()}\`)
|
||||
|
||||
// ランダムに選択肢を選ぶ
|
||||
let chosen = choices[random(0, (choices.len - 1))]
|
||||
|
||||
Reference in New Issue
Block a user