discord-slim
Advanced tools
Comparing version 2.5.2 to 2.5.3
@@ -447,3 +447,9 @@ /// <reference types="node" /> | ||
GetGuildCommands: (application_id: string, guild_id: string, requestOptions?: RequestOptions | undefined) => Promise<types.ApplicationCommand[]>; | ||
BulkOverwriteGlobalCommands: (application_id: string, params: types.ApplicationCommand[], requestOptions?: RequestOptions | undefined) => Promise<types.ApplicationCommand[]>; | ||
BulkOverwriteGlobalCommands: (application_id: string, params: { | ||
name: string; | ||
description: string; | ||
options?: types.ApplicationCommandOption[]; | ||
default_permission?: boolean; | ||
type?: helpers.ApplicationCommandTypes; | ||
}[], requestOptions?: RequestOptions | undefined) => Promise<types.ApplicationCommand[]>; | ||
CreateGuildCommand: (application_id: string, guild_id: string, params: { | ||
@@ -464,3 +470,9 @@ name: string; | ||
DeleteGuildCommand: (application_id: string, guild_id: string, command_id: string, requestOptions?: RequestOptions | undefined) => Promise<null>; | ||
BulkOverwriteGuildCommands: (application_id: string, guild_id: string, params: types.ApplicationCommand[], requestOptions?: RequestOptions | undefined) => Promise<types.ApplicationCommand[]>; | ||
BulkOverwriteGuildCommands: (application_id: string, guild_id: string, params: { | ||
name: string; | ||
description: string; | ||
options?: types.ApplicationCommandOption[]; | ||
default_permission?: boolean; | ||
type?: helpers.ApplicationCommandTypes; | ||
}[], requestOptions?: RequestOptions | undefined) => Promise<types.ApplicationCommand[]>; | ||
GetGuildCommandPermissions: (application_id: string, guild_id: string, requestOptions?: RequestOptions | undefined) => Promise<types.GuildApplicationCommandPermissions[]>; | ||
@@ -467,0 +479,0 @@ GetCommandPermissions: (application_id: string, guild_id: string, command_id: string, requestOptions?: RequestOptions | undefined) => Promise<types.GuildApplicationCommandPermissions>; |
{ | ||
"name": "discord-slim", | ||
"version": "2.5.2", | ||
"version": "2.5.3", | ||
"description": "Lightweight Discord API library for Node.js.", | ||
@@ -5,0 +5,0 @@ "author": "Hanabishi", |
177088
3850