chore: fix grammar in error message (#123)

This commit is contained in:
Peter-MJ-Parker
2023-10-13 12:23:19 -05:00
committed by GitHub
parent 9045e1a03f
commit 3970cc6911

View File

@@ -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: