diff --git a/src/api/bot/core.ts b/src/api/bot/core.ts
index d7655f8175..b13402dce9 100644
--- a/src/api/bot/core.ts
+++ b/src/api/bot/core.ts
@@ -295,11 +295,15 @@ class GuessingGameContext extends Context {
 			return 'やめました。';
 		}
 
+		const guess = parseInt(query, 10);
+
+		if (isNaN(guess)) {
+			return '整数で推測してください。「やめる」と言うとゲームをやめます。';
+		}
+
 		this.try++;
 		this.emit('updated');
 
-		const guess = parseInt(query, 10);
-
 		if (this.secret < guess) {
 			return `${guess}よりも小さいですね`;
 		} else if (this.secret > guess) {