mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-23 19:36:43 +01:00
tweak flash omikuji preset
This commit is contained in:
parent
d600296360
commit
0fa602a184
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ let choices = [
|
||||||
]
|
]
|
||||||
|
|
||||||
// シードが「ユーザーID+今日の日付」である乱数生成器を用意
|
// シードが「ユーザーID+今日の日付」である乱数生成器を用意
|
||||||
let random = Math:gen_rng(\`{USER_ID}{Date:day()}\`)
|
let random = Math:gen_rng(\`{USER_ID}{Date:year()}{Date:month()}{Date:day()}\`)
|
||||||
|
|
||||||
// ランダムに選択肢を選ぶ
|
// ランダムに選択肢を選ぶ
|
||||||
let chosen = choices[random(0 (choices.len - 1))]
|
let chosen = choices[random(0 (choices.len - 1))]
|
||||||
|
|
Loading…
Reference in a new issue