public class UnbanEvent extends GuildEvent
This event is dispatched by Discord.
Constructor and Description |
---|
UnbanEvent(GatewayDiscordClient gateway,
ShardInfo shardInfo,
User user,
long guildId) |
Modifier and Type | Method and Description |
---|---|
Mono<Guild> |
getGuild()
Requests to retrieve the Guild the Member was unbanned from.
|
Snowflake |
getGuildId()
|
User |
getUser()
Gets the
User that has been unbanned in this event. |
String |
toString() |
getClient, getShardInfo
public UnbanEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, User user, long guildId)
public User getUser()
User
that has been unbanned in this event.User
that has been unbanned.public Snowflake getGuildId()