variable naming bug

This commit is contained in:
Shay
2022-04-04 14:56:33 -07:00
parent 110d584586
commit 19e49e5887
2 changed files with 1 additions and 2 deletions

1
app.js
View File

@@ -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

View File

@@ -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"]
});