Skip to content

Commit

Permalink
feat(typings): add ShardingManager.shardList to type definitions (#5446)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNovak committed Apr 14, 2021
1 parent 7c49612 commit 32b0d71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,7 @@ declare module 'discord.js' {
public shards: Collection<number, Shard>;
public token: string | null;
public totalShards: number | 'auto';
public shardList: number[] | 'auto';
public broadcast(message: any): Promise<Shard[]>;
public broadcastEval(script: string): Promise<any[]>;
public broadcastEval(script: string, shard: number): Promise<any>;
Expand Down

0 comments on commit 32b0d71

Please sign in to comment.