mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
fix breaking change
This commit is contained in:
parent
9b462093db
commit
bd4ad6b424
@ -22,7 +22,7 @@ var isSummendByPlay = false;
|
|||||||
function getRandomDiscordColor () {
|
function getRandomDiscordColor () {
|
||||||
let random = Math.random();
|
let random = Math.random();
|
||||||
function randomNumber (b, a) {
|
function randomNumber (b, a) {
|
||||||
return Math.floor(random * Math.pow(Math.pow((b - a), 2), 1 / 2)) + (b > a ? a : b));
|
return Math.floor(random * Math.pow(Math.pow((b - a), 2), 1 / 2)) + (b > a ? a : b);
|
||||||
}
|
}
|
||||||
|
|
||||||
const GRANDIENT_START = "#AA5CC3";
|
const GRANDIENT_START = "#AA5CC3";
|
||||||
|
Loading…
Reference in New Issue
Block a user