I forgor to push a change
This commit is contained in:
parent
93bce4df0a
commit
e2e116df71
7
index.js
7
index.js
|
@ -792,15 +792,15 @@ client.on("interactionCreate", async interaction => {
|
|||
override = false;
|
||||
}
|
||||
if (interaction.options.get("amount")) {
|
||||
amount = interaction.options.getNumber("amount");
|
||||
coinamount = interaction.options.getNumber("amount");
|
||||
}
|
||||
else {
|
||||
amount = 2;
|
||||
coinamount = 2;
|
||||
}
|
||||
gameData = wordScramble(override);
|
||||
wordScrambles[interaction.channel.id] = {
|
||||
word: gameData.word,
|
||||
amount: amount,
|
||||
amount: coinamount,
|
||||
scrambledWord: gameData.scrambledWord,
|
||||
badGuesses: []
|
||||
}
|
||||
|
@ -868,6 +868,7 @@ client.on('messageCreate', async message => {
|
|||
// Start a word scramble
|
||||
setCooldown({id: 0}, "wordscramble", 5 * 60 * 1000)
|
||||
override = false
|
||||
coinamount = 2
|
||||
gameData = wordScramble(override);
|
||||
wordScrambles[message.channel.id] = {
|
||||
word: gameData.word,
|
||||
|
|
Loading…
Reference in a new issue