From d3c90e222b00864492907a2980cebd455c73e45c Mon Sep 17 00:00:00 2001 From: selectthegang Date: Wed, 6 Jul 2022 20:57:04 -0500 Subject: [PATCH] Update src/lib/discord/scripts/registerCommands.ts Co-authored-by: mat <27899617+mat-1@users.noreply.github.com> --- src/lib/discord/scripts/registerCommands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/discord/scripts/registerCommands.ts b/src/lib/discord/scripts/registerCommands.ts index cf63cc73..8ed666d2 100644 --- a/src/lib/discord/scripts/registerCommands.ts +++ b/src/lib/discord/scripts/registerCommands.ts @@ -21,7 +21,7 @@ async function registerCommands() { 'Authorization': `Bot ${process.env.DISCORD_TOKEN}`, }, body: JSON.stringify(bulkUpdate), - }).then(res => res.json()) + }) console.log( 'Registered commands, Please note that you only have to run this whenever the syntax of a command is changed, i.e. not on every code change. :)'