mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
build: Bump dependencies (#11333)
* build: bump dependencies * fix: guide build * build: amend package.json.hbs * build: create-discord-bot * style: formatting * build: final change --------- Co-authored-by: almeidx <github@almeidx.dev>
This commit is contained in:
@@ -8,20 +8,16 @@ import type {
|
||||
import type { RestOrArray } from '../../util/normalizeArray.js';
|
||||
import { normalizeArray } from '../../util/normalizeArray.js';
|
||||
|
||||
export interface CommandData
|
||||
extends Partial<
|
||||
Pick<
|
||||
RESTPostAPIApplicationCommandsJSONBody,
|
||||
'contexts' | 'default_member_permissions' | 'integration_types' | 'nsfw'
|
||||
>
|
||||
> {}
|
||||
export interface CommandData extends Partial<
|
||||
Pick<RESTPostAPIApplicationCommandsJSONBody, 'contexts' | 'default_member_permissions' | 'integration_types' | 'nsfw'>
|
||||
> {}
|
||||
|
||||
/**
|
||||
* The base class for all command builders.
|
||||
*/
|
||||
export abstract class CommandBuilder<Command extends RESTPostAPIApplicationCommandsJSONBody>
|
||||
implements JSONEncodable<Command>
|
||||
{
|
||||
export abstract class CommandBuilder<
|
||||
Command extends RESTPostAPIApplicationCommandsJSONBody,
|
||||
> implements JSONEncodable<Command> {
|
||||
/**
|
||||
* The API data associated with this command.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user