public static class JDA.ShardInfo
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getShardId()
Represents the id of the shard of the current instance.
|
java.lang.String |
getShardString()
Provides a shortcut method for easily printing shard info.
|
int |
getShardTotal()
The total amount of shards based on the value provided during JDA instance creation using
JDABuilder.useSharding(int, int). |
java.lang.String |
toString() |
public int getShardId()
getShardTotal() - 1).public int getShardTotal()
JDABuilder.useSharding(int, int).
public java.lang.String getShardString()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object