public class GuildVoiceDeafenEvent extends GenericGuildVoiceEvent
Member
was (un-)deafened.
GuildVoiceGuildDeafenEvent
and GuildVoiceSelfDeafenEvent
!
Can be used to detect when a member is deafened or un-deafened.
Constructor | Description |
---|---|
GuildVoiceDeafenEvent(JDA api,
long responseNumber,
Member member) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isDeafened() |
Whether the member was deafened in this event.
|
getJDA, getResponseNumber
getGuild
getMember, getVoiceState