public class UnbanEvent extends GuildEvent
This event is dispatched by Discord.
Constructor and Description |
---|
UnbanEvent(DiscordClient client,
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() |
public UnbanEvent(DiscordClient client, User user, long guildId)
public User getUser()
User
that has been unbanned in this event.User
that has been unbanned.public Snowflake getGuildId()