public abstract class Event extends Object
Modifier | Constructor and Description |
---|---|
protected |
Event(GatewayDiscordClient gateway,
ShardInfo shardInfo) |
Modifier and Type | Method and Description |
---|---|
GatewayDiscordClient |
getClient()
Get the
GatewayDiscordClient that emitted this Event . |
ShardInfo |
getShardInfo()
Retrieve the shard details from this
Event . |
protected Event(GatewayDiscordClient gateway, ShardInfo shardInfo)
public GatewayDiscordClient getClient()
GatewayDiscordClient
that emitted this Event
.