Skip to content

Commit

Permalink
types: fix GuildAuditLogsTypes keys & typos (#7423)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx committed Feb 9, 2022
1 parent 83458ff commit 3d8c776
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,17 +247,17 @@ export class ApplicationCommand<PermissionsFetchType = {}> extends Base {
public setOptions(options: ApplicationCommandOptionData[]): Promise<ApplicationCommand<PermissionsFetchType>>;
public equals(
command: ApplicationCommand | ApplicationCommandData | RawApplicationCommandData,
enforceOptionorder?: boolean,
enforceOptionOrder?: boolean,
): boolean;
public static optionsEqual(
existing: ApplicationCommandOption[],
options: ApplicationCommandOption[] | ApplicationCommandOptionData[] | APIApplicationCommandOption[],
enforceOptionorder?: boolean,
enforceOptionOrder?: boolean,
): boolean;
private static _optionEquals(
existing: ApplicationCommandOption,
options: ApplicationCommandOption | ApplicationCommandOptionData | APIApplicationCommandOption,
enforceOptionorder?: boolean,
enforceOptionOrder?: boolean,
): boolean;
private static transformOption(option: ApplicationCommandOptionData, received?: boolean): unknown;
private static transformCommand(command: ApplicationCommandData): RESTPostAPIApplicationCommandsJSONBody;
Expand Down Expand Up @@ -798,7 +798,7 @@ export class ContextMenuCommandInteraction<Cached extends CacheType = CacheType>
export class DataResolver extends null {
private constructor();
public static resolveBase64(data: Base64Resolvable): string;
public static resolveCode(data: string, regx: RegExp): string;
public static resolveCode(data: string, regex: RegExp): string;
public static resolveFile(resource: BufferResolvable | Stream): Promise<Buffer>;
public static resolveImage(resource: BufferResolvable | Base64Resolvable): Promise<string | null>;
public static resolveInviteCode(data: InviteResolvable): string;
Expand Down Expand Up @@ -4074,10 +4074,10 @@ interface GuildAuditLogsTypes {
StageInstanceDelete: ['StageInstance', 'Delete'];
StickerCreate: ['Sticker', 'Create'];
StickerUpdate: ['Sticker', 'Update'];
StickerDelete: ['Sticket', 'Delete'];
GUILD_SCHEDULED_EVENT_CREATE: ['GuildScheduledEvent', 'Create'];
GUILD_SCHEDULED_EVENT_UPDATE: ['GuildScheduledEvent', 'Update'];
GUILD_SCHEDULED_EVENT_DELETE: ['GuildScheduledEvent', 'Delete'];
StickerDelete: ['Sticker', 'Delete'];
GuildScheduledEventCreate: ['GuildScheduledEvent', 'Create'];
GuildScheduledEventUpdate: ['GuildScheduledEvent', 'Update'];
GuildScheduledEventDelete: ['GuildScheduledEvent', 'Delete'];
ThreadCreate: ['Thread', 'Create'];
ThreadUpdate: ['Thread', 'Update'];
ThreadDelete: ['Thread', 'Delete'];
Expand Down

0 comments on commit 3d8c776

Please sign in to comment.