Add more @readonly and clean up some stuff

This commit is contained in:
Schuyler Cebulskie
2016-09-27 20:07:33 -04:00
parent 1a3f5ca6a9
commit 973dbe8266
11 changed files with 31 additions and 21 deletions

View File

@@ -16,6 +16,7 @@ class ShardClientUtil {
/**
* ID of this shard
* @type {number}
* @readonly
*/
get id() {
return this.client.options.shardId;
@@ -24,6 +25,7 @@ class ShardClientUtil {
/**
* Total number of shards
* @type {number}
* @readonly
*/
get count() {
return this.client.options.shardCount;