mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 04:57:18 +09:00
Check number
This commit is contained in:
parent
c4610894fb
commit
d426e17a19
@ -85,6 +85,8 @@ export default class GuessingGameModule implements IModule {
|
||||
this.ai.subscribeReply(this, msg.userId, msg.isMessage, reply.id);
|
||||
});
|
||||
} else {
|
||||
if (guess.length > 3) return;
|
||||
|
||||
const g = parseInt(guess, 10);
|
||||
|
||||
const firsttime = exist.tries.indexOf(g) === -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user