From bd4ad6b4240d629808166c310ed70d039e9d35f9 Mon Sep 17 00:00:00 2001 From: KGT1 Date: Wed, 23 Sep 2020 18:31:07 +0200 Subject: [PATCH] fix breaking change --- src/messagehandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messagehandler.js b/src/messagehandler.js index 0406cfc..cf92bb1 100644 --- a/src/messagehandler.js +++ b/src/messagehandler.js @@ -22,7 +22,7 @@ var isSummendByPlay = false; function getRandomDiscordColor () { let random = Math.random(); 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";