mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Cats
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = class HangmanCommand extends Command {
|
||||
let points = 0;
|
||||
const confirmation = [];
|
||||
const display = '_'.repeat(word.length).split('');
|
||||
while (word.length !== confirmation.length && points > 6) {
|
||||
while (word.length === confirmation.length && points > 6) {
|
||||
await msg.code(null, stripIndents`
|
||||
___________
|
||||
| |
|
||||
|
||||
Reference in New Issue
Block a user