Explorar o código

Fix typo in PADORU

denikson %!s(int64=6) %!d(string=hai) anos
pai
achega
7fb744a594
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      commands/facemorph.js

+ 1 - 1
commands/facemorph.js

@@ -109,7 +109,7 @@ function getPadoruChance() {
     let now = new Date();
     if(now.getUTCMonth() != 11 || now.getUTCDate() > 26)
         return 0;
-    return Math.sin(2 * Math.PI * (1.0 / 4.0 * 25.0) * now.getUTCDate());
+    return Math.sin(2 * Math.PI * (1.0 / (4.0 * 25.0)) * now.getUTCDate());
 }
 
 async function processFaceSwap(message, attachmentUrl, processor, failMessage, successMessage) {