From 2c2d8eeb523b39c01c1fa3a2950e3c0224b78ef6 Mon Sep 17 00:00:00 2001 From: Peter-MJ-Parker <34216187+Peter-MJ-Parker@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:46:43 -0500 Subject: [PATCH] refactor: fix grammar in error message! --- 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: