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:
Jiralite
2025-12-06 22:55:07 +00:00
committed by GitHub
parent 0aaba0305f
commit 5e6bd4b3d7
83 changed files with 6148 additions and 5493 deletions

View File

@@ -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.
*

View File

@@ -1,7 +1,8 @@
import type { Locale, RESTPostAPIApplicationCommandsJSONBody } from 'discord-api-types/v10';
export interface SharedNameData
extends Partial<Pick<RESTPostAPIApplicationCommandsJSONBody, 'name_localizations' | 'name'>> {}
export interface SharedNameData extends Partial<
Pick<RESTPostAPIApplicationCommandsJSONBody, 'name_localizations' | 'name'>
> {}
/**
* This mixin holds name and description symbols for chat input commands.

View File

@@ -3,8 +3,7 @@ import type { SharedNameData } from './SharedName.js';
import { SharedName } from './SharedName.js';
export interface SharedNameAndDescriptionData
extends SharedNameData,
Partial<Pick<APIApplicationCommand, 'description_localizations' | 'description'>> {}
extends SharedNameData, Partial<Pick<APIApplicationCommand, 'description_localizations' | 'description'>> {}
/**
* This mixin holds name and description symbols for chat input commands.

View File

@@ -1,7 +1,9 @@
import type { APIApplicationCommandIntegerOption } from 'discord-api-types/v10';
export interface ApplicationCommandNumericOptionMinMaxValueData
extends Pick<APIApplicationCommandIntegerOption, 'max_value' | 'min_value'> {}
export interface ApplicationCommandNumericOptionMinMaxValueData extends Pick<
APIApplicationCommandIntegerOption,
'max_value' | 'min_value'
> {}
/**
* This mixin holds minimum and maximum symbols used for options.

View File

@@ -19,8 +19,10 @@ export const ApplicationCommandOptionAllowedChannelTypes = [
*/
export type ApplicationCommandOptionAllowedChannelType = (typeof ApplicationCommandOptionAllowedChannelTypes)[number];
export interface ApplicationCommandOptionChannelTypesData
extends Pick<APIApplicationCommandChannelOption, 'channel_types'> {}
export interface ApplicationCommandOptionChannelTypesData extends Pick<
APIApplicationCommandChannelOption,
'channel_types'
> {}
/**
* This mixin holds channel type symbols used for options.