From 16c29114d9d01e869b79506479366fbfd51a390e Mon Sep 17 00:00:00 2001 From: gc <30398469+gc@users.noreply.github.com> Date: Sun, 17 Mar 2024 23:11:49 +1100 Subject: [PATCH] fix --- src/mahoji/commands/rates.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mahoji/commands/rates.ts b/src/mahoji/commands/rates.ts index 26353bc187..40cd660a28 100644 --- a/src/mahoji/commands/rates.ts +++ b/src/mahoji/commands/rates.ts @@ -194,8 +194,13 @@ ${zygomiteFarmingSource if (options.monster?.monster) { const monster = killableMonsters.find(m => stringMatches(m.name, options.monster!.monster!.name)); if (!monster) { - return 'HUH?'; + return 'Invalid monster.'; } + + if (user.id !== '157797566833098752') { + return 'This command is currently disabled.'; + } + let { timeToFinish } = monster; // 10% for learning timeToFinish = reduceNumByPercent(timeToFinish, 10);