From 0bd543c5f70b592cd186b1bbc7b6bd5a23698c62 Mon Sep 17 00:00:00 2001 From: hwangsihu <129564966+hwangsihu@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:14:56 +0900 Subject: [PATCH] =?UTF-8?q?Pitch.ts=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/filters/Pitch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/filters/Pitch.ts b/src/commands/filters/Pitch.ts index 87f015e32..ec236993b 100644 --- a/src/commands/filters/Pitch.ts +++ b/src/commands/filters/Pitch.ts @@ -42,7 +42,7 @@ export default class Pitch extends Command { const isValidNumber = /^[0-9]*\.?[0-9]+$/.test(pitchString); const pitch = parseFloat(pitchString); if (!isValidNumber || isNaN(pitch) || pitch < 0.5 || pitch > 5) { - await ctx.sendMessage({ + return await ctx.sendMessage({ embeds: [ { description: "Please provide a valid number between 0.5 and 5.",