This commit is contained in:
syuilo
2019-01-24 01:21:40 +09:00
parent 7206dc0dc6
commit 28826e145a
3 changed files with 8 additions and 2 deletions

View File

@ -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 => {