Class VoiceChannelDeleteEvent
- java.lang.Object
-
- discord4j.core.event.domain.Event
-
- discord4j.core.event.domain.channel.ChannelEvent
-
- discord4j.core.event.domain.channel.VoiceChannelDeleteEvent
-
public class VoiceChannelDeleteEvent extends ChannelEvent
Dispatched when aVoiceChannelis deleted in a guild.This event is dispatched by Discord.
- See Also:
- Channel Delete
-
-
Constructor Summary
Constructors Constructor Description VoiceChannelDeleteEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, VoiceChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoiceChannelgetChannel()Gets theVoiceChannelthat has been deleted in this event.StringtoString()-
Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
-
-
-
Constructor Detail
-
VoiceChannelDeleteEvent
public VoiceChannelDeleteEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, VoiceChannel channel)
-
-
Method Detail
-
getChannel
public VoiceChannel getChannel()
Gets theVoiceChannelthat has been deleted in this event.- Returns:
- The deleted
VoiceChannel.
-
-