mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
enhancement(lint): Fix lint errors for src/modules/hangman.ts
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
ef50e5d434
commit
9fa679d916
1 changed files with 2 additions and 2 deletions
|
|
@ -1020,7 +1020,7 @@ export function onGuess(
|
|||
word,
|
||||
stage,
|
||||
};
|
||||
|
||||
|
||||
if (guessedLetters.join("") === word)
|
||||
return {
|
||||
message: `\`\`\`${buildBoard(stage)}\`\`\`\n\nYou have won! \`${guessedLetter}\`\n${hideWord(word, guessedLetters)}`,
|
||||
|
|
@ -1040,7 +1040,7 @@ export function onGuess(
|
|||
stage,
|
||||
};
|
||||
} else {
|
||||
stage++
|
||||
stage++;
|
||||
return {
|
||||
message: `\`\`\`${buildBoard(stage)}\`\`\`\n\nYou guessed \`${guessedLetter}\`\n${hideWord(word, guessedLetters)}`,
|
||||
guessedLetters,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue