From 19e49e5887fd032c2b19a21c48ad3886f5a2a6b4 Mon Sep 17 00:00:00 2001 From: Shay Date: Mon, 4 Apr 2022 14:56:33 -0700 Subject: [PATCH] variable naming bug --- app.js | 1 - game.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index 67feff5..8d5eb73 100644 --- a/app.js +++ b/app.js @@ -25,7 +25,6 @@ let activeGames = {}; app.post('/interactions', function (req, res) { // Interaction type and data let { type, id, data } = req.body; - console.log(type); /** * Handle verification requests diff --git a/game.js b/game.js index f31dbae..c7dae1c 100644 --- a/game.js +++ b/game.js @@ -82,7 +82,7 @@ export function getShuffledOptions() { // Formatted for select menus // https://discord.com/developers/docs/interactions/message-components#select-menu-object-select-option-structure options.push({ - "label": capitalize(choice), + "label": capitalize(c), "value": c.toLowerCase(), "description": RPSChoices[c]["description"] });