From 3970cc6911276e59d881ad3493c58dd1bac67c55 Mon Sep 17 00:00:00 2001 From: Peter-MJ-Parker <34216187+Peter-MJ-Parker@users.noreply.github.com> Date: Fri, 13 Oct 2023 12:23:19 -0500 Subject: [PATCH] chore: fix grammar in error message (#123) --- src/create-publish.mts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/create-publish.mts b/src/create-publish.mts index 3637221..76fad21 100644 --- a/src/create-publish.mts +++ b/src/create-publish.mts @@ -193,7 +193,7 @@ if (res.ok) { spin.fail(`Failed to publish global commands [Code: ${redBright(res.status)}]`); switch(res.status) { case 400 : - throw Error("400: Ensure your commands have proper fields and data with left nothing out"); + throw Error("400: Ensure your commands have proper fields and data with nothing left out"); case 404 : throw Error("Forbidden 404. Is you application id and/or token correct?") case 429: @@ -247,7 +247,7 @@ for (const [guildId, array] of guildCommandMap.entries()) { spin.fail(`[${redBright(guildId)}] Failed to update commands for guild, Reason: ${result.message}`); switch(response.status) { case 400 : - throw Error("400: Ensure your commands have proper fields and data and left nothing out"); + throw Error("400: Ensure your commands have proper fields and data and nothing left out"); case 404 : throw Error("Forbidden 404. Is you application id and/or token correct?") case 429: