From 997c2ccb6f0ece7e731579ae945fc31615377b35 Mon Sep 17 00:00:00 2001 From: John Ivison Date: Thu, 28 Nov 2024 04:00:31 -0800 Subject: [PATCH] Fix rymimport ratings required error message --- src/commands/Lastfm/RateYourMusic/ImportRatings.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/Lastfm/RateYourMusic/ImportRatings.ts b/src/commands/Lastfm/RateYourMusic/ImportRatings.ts index 6f21298e..957fd7f0 100644 --- a/src/commands/Lastfm/RateYourMusic/ImportRatings.ts +++ b/src/commands/Lastfm/RateYourMusic/ImportRatings.ts @@ -10,7 +10,9 @@ const args = { ratings: new AttachmentArgument({ index: 0, description: "The file containing your RateYourMusic ratings", - required: true, + required: { + customMessage: `Please attach your ratings! (See \`rym help\` for more info)`, + }, }), } satisfies ArgumentsMap;