Skip to content

Commit

Permalink
Pitch.ts 업데이트
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangsihu authored Jul 26, 2024
1 parent 725415a commit 0bd543c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/filters/Pitch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit 0bd543c

Please sign in to comment.