mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 01:01:30 +00:00
Bring in latest typings fix (#982)
This commit is contained in:
parent
78026df1df
commit
8596eadb25
1 changed files with 3 additions and 2 deletions
5
typings/index.d.ts
vendored
5
typings/index.d.ts
vendored
|
|
@ -1,6 +1,7 @@
|
||||||
// Type definitions for discord.js 10.0.1
|
// Type definitions for discord.js 10.0.1
|
||||||
// Project: https://github.com/hydrabolt/discord.js
|
// Project: https://github.com/hydrabolt/discord.js
|
||||||
// Definitions by: acdenisSK <acdenissk69@gmail.com> (https://github.com/acdenisSK)
|
// Definitions by: acdenisSK <acdenissk69@gmail.com> (https://github.com/acdenisSK)
|
||||||
|
// License: MIT
|
||||||
|
|
||||||
declare module "discord.js" {
|
declare module "discord.js" {
|
||||||
import { EventEmitter } from "events";
|
import { EventEmitter } from "events";
|
||||||
|
|
@ -101,7 +102,7 @@ declare module "discord.js" {
|
||||||
push(request: {});
|
push(request: {});
|
||||||
}
|
}
|
||||||
export class WebhookClient extends Webhook {
|
export class WebhookClient extends Webhook {
|
||||||
contructor(id: string, token: string, options?: ClientOptions);
|
constructor(id: string, token: string, options?: ClientOptions);
|
||||||
options: ClientOptions;
|
options: ClientOptions;
|
||||||
}
|
}
|
||||||
export class Emoji {
|
export class Emoji {
|
||||||
|
|
@ -550,7 +551,7 @@ declare module "discord.js" {
|
||||||
on(event: "launch", listener: (shard: Shard) => void): this;
|
on(event: "launch", listener: (shard: Shard) => void): this;
|
||||||
}
|
}
|
||||||
export class ShardClientUtil {
|
export class ShardClientUtil {
|
||||||
contructor(client: Client);
|
constructor(client: Client);
|
||||||
id: number;
|
id: number;
|
||||||
count: number;
|
count: number;
|
||||||
broadcastEval(script: string): Promise<any[]>;
|
broadcastEval(script: string): Promise<any[]>;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue