Skip to content

Commit

Permalink
chore: update dev dependencies and lint (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
TTtie authored Dec 14, 2022
1 parent ccc03b9 commit 22a12e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2671,7 +2671,7 @@ declare namespace Dysnomia {
getGuildIntegrations(guildID: string): Promise<GuildIntegration[]>;
getGuildInvites(guildID: string): Promise<Invite[]>;
getGuildPreview(guildID: string): Promise<GuildPreview>;
getGuildScheduledEvents(guildID: string, options?: GetGuildScheduledEventOptions): Promise<GuildScheduledEvent[]>
getGuildScheduledEvents(guildID: string, options?: GetGuildScheduledEventOptions): Promise<GuildScheduledEvent[]>;
getGuildScheduledEventUsers(guildID: string, eventID: string, options?: GetGuildScheduledEventUsersOptions): Promise<GuildScheduledEventUser[]>;
getGuildTemplate(code: string): Promise<GuildTemplate>;
getGuildTemplates(guildID: string): Promise<GuildTemplate[]>;
Expand Down Expand Up @@ -2807,7 +2807,7 @@ declare namespace Dysnomia {
constructor(token: string, options: ClientOptions, commandOptions?: CommandClientOptions);
checkPrefix(msg: Message): string;
onMessageCreate(msg: Message): Promise<void>;
onMessageReactionEvent(msg: Message, emoji: Emoji, reactor: Member | Uncached | string): Promise<void>
onMessageReactionEvent(msg: Message, emoji: Emoji, reactor: Member | Uncached | string): Promise<void>;
registerCommand(label: string, generator: CommandGenerator, options?: CommandOptions): Command;
registerCommandAlias(alias: string, label: string): void;
registerGuildPrefix(guildID: string, prefix: string[] | string): void;
Expand Down Expand Up @@ -2842,7 +2842,7 @@ declare namespace Dysnomia {
editOriginalMessage(content: string | InteractionContentEdit): Promise<Message>;
/** @deprecated */
editOriginalMessage(content: string | InteractionContentEdit, file?: FileContent | FileContent[]): Promise<Message>;
getOriginalMessage(): Promise<Message>
getOriginalMessage(): Promise<Message>;
}

export class ComponentInteraction<T extends PossiblyUncachedTextable = TextableChannel> extends Interaction {
Expand Down Expand Up @@ -2875,7 +2875,7 @@ declare namespace Dysnomia {
editParent(content: InteractionContentEdit): Promise<void>;
/** @deprecated */
editParent(content: InteractionContentEdit, file?: FileContent | FileContent[]): Promise<void>;
getOriginalMessage(): Promise<Message>
getOriginalMessage(): Promise<Message>;
}

export class DiscordHTTPError extends Error {
Expand Down Expand Up @@ -3029,7 +3029,7 @@ declare namespace Dysnomia {
editIntegration(integrationID: string, options: IntegrationOptions): Promise<void>;
editMember(memberID: string, options: MemberOptions, reason?: string): Promise<Member>;
editRole(roleID: string, options: RoleOptions): Promise<Role>;
editScheduledEvent<T extends GuildScheduledEventEntityTypes>(eventID: string, event: GuildScheduledEventEditOptions<T>, reason?: string): Promise<GuildScheduledEvent<T>>
editScheduledEvent<T extends GuildScheduledEventEntityTypes>(eventID: string, event: GuildScheduledEventEditOptions<T>, reason?: string): Promise<GuildScheduledEvent<T>>;
editSticker(stickerID: string, options?: EditStickerOptions, reason?: string): Promise<Sticker>;
editTemplate(code: string, options: GuildTemplateOptions): Promise<GuildTemplate>;
editVanity(code: string | null): Promise<GuildVanity>;
Expand Down Expand Up @@ -3379,7 +3379,7 @@ declare namespace Dysnomia {
editParent(content: InteractionContentEdit): Promise<void>;
/** @deprecated */
editParent(content: InteractionContentEdit, file?: FileContent | FileContent[]): Promise<void>;
getOriginalMessage(): Promise<Message>
getOriginalMessage(): Promise<Message>;
}

// News channel rate limit is always 0
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"devDependencies": {
"@types/node": "^16.11.7",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"eslint": "^8.29.0",
"eslint-plugin-sort-class-members": "^1.14.0",
"typescript": "^4.4.4"
},
Expand Down

0 comments on commit 22a12e7

Please sign in to comment.