mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
cleanup(ShardClientUtil): rename id to ids
This commit is contained in:
@@ -46,11 +46,11 @@ class ShardClientUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* Shard ID or array of shard IDs of this client
|
||||
* @type {number|number[]}
|
||||
* Array of shard IDs of this client
|
||||
* @type {number[]}
|
||||
* @readonly
|
||||
*/
|
||||
get id() {
|
||||
get ids() {
|
||||
return this.client.options.shards;
|
||||
}
|
||||
|
||||
|
||||
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -937,7 +937,7 @@ declare module 'discord.js' {
|
||||
|
||||
public client: Client;
|
||||
public readonly count: number;
|
||||
public readonly id: number | number[];
|
||||
public readonly ids: number[];
|
||||
public mode: ShardingManagerMode;
|
||||
public parentPort: any;
|
||||
public broadcastEval(script: string): Promise<any[]>;
|
||||
|
||||
Reference in New Issue
Block a user