0
0
Fork 0

Improve response when the solution is correct

This commit is contained in:
Oliver-Akins 2023-03-03 17:07:28 -06:00
parent e0ecd63712
commit aec13c1cee
2 changed files with 3 additions and 2 deletions

View file

@ -82,6 +82,7 @@ const route: ServerRoute = {
status: 2,
current: data.current,
incorrect: data.incorrect,
solution: data.solution,
};
};

View file

@ -73,7 +73,7 @@ const subcommands: {[index: string]: subcommand} = {
m = `"${meta.args[1].toUpperCase()}" has been guessed already. \n(incorrect: ${d.incorrect}/${config.game.max_incorrect})`;
break;
case 2:
m = `Merry chatmanmas! You won! Answer: ${d.current}`;
m = `Merry chatmanmas! You won! Answer: ${d.solution}`;
break;
case 3:
m = `Booooo, you lost! Answer: ${d.solution}`;
@ -113,7 +113,7 @@ const subcommands: {[index: string]: subcommand} = {
m = `"${meta.args[1].toUpperCase()}" has been guessed already. \n(incorrect: ${d.incorrect}/${config.game.max_incorrect})`;
break;
case 2:
m = `Merry chatmanmas! You won! Answer: ${d.current}`;
m = `Merry chatmanmas! You won! Answer: ${d.solution}`;
break;
case 3:
m = `Booooo, you lost! Answer: ${d.solution}`;