From 7a085f1cd65538f40f8a8d597a7f61350d3f67fe Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Wed, 28 Apr 2021 18:22:44 +0200 Subject: [PATCH] Update create_slash_command.ts --- src/helpers/commands/create_slash_command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/commands/create_slash_command.ts b/src/helpers/commands/create_slash_command.ts index 2da719f56..c756570e5 100644 --- a/src/helpers/commands/create_slash_command.ts +++ b/src/helpers/commands/create_slash_command.ts @@ -21,7 +21,7 @@ import { */ export async function createSlashCommand( options: CreateGlobalApplicationCommand, - guildId: string, + guildId?: string, ) { validateSlashCommands([options], true);