From 0fd66ba57214c58625f06514f92bf9794a757b30 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 11 Mar 2019 17:08:26 +0000 Subject: [PATCH] Fix --- commands/games/sorting-hat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games/sorting-hat.js b/commands/games/sorting-hat.js index 1fbcc617..2267383a 100644 --- a/commands/games/sorting-hat.js +++ b/commands/games/sorting-hat.js @@ -66,7 +66,7 @@ module.exports = class SortingHatCommand extends Command { You are a member of... **${houses[houseResult[0]]}**! _${descriptions[houseResult[0]]}_ - ${houseResult.map(house => `${houses[house]}: ${Math.round(points[house] / totalPoints)}%`).join('\n')} + ${houseResult.map(house => `${houses[house]}: ${Math.round((points[house] / totalPoints) * 100)}%`).join('\n')} `); } catch (err) { this.playing.delete(msg.channel.id);