mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-08-08 09:33:53 +09:00
Fix bug
This commit is contained in:
@ -86,7 +86,7 @@ export default class extends Module {
|
||||
return;
|
||||
}
|
||||
|
||||
const guess = msg.text.toLowerCase().replace(this.ai.account.username.toLowerCase(), '').match(/[0-9]+/);
|
||||
const guess = msg.extractedText.match(/[0-9]+/);
|
||||
|
||||
if (guess == null) {
|
||||
msg.reply(serifs.guessingGame.nan).then(reply => {
|
||||
|
Reference in New Issue
Block a user