Update create_slash_command.ts

This commit is contained in:
ITOH
2021-04-28 18:22:44 +02:00
parent 44d5582cc0
commit 7a085f1cd6

View File

@@ -21,7 +21,7 @@ import {
*/
export async function createSlashCommand(
options: CreateGlobalApplicationCommand,
guildId: string,
guildId?: string,
) {
validateSlashCommands([options], true);