public class WrongChannelTypeException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
WrongChannelTypeException(net.dv8tion.jda.api.entities.channel.middleman.GuildChannel channel,
java.lang.Class<?> expectedType) |
| Modifier and Type | Method and Description |
|---|---|
net.dv8tion.jda.api.entities.channel.middleman.GuildChannel |
channel()
Returns the channel supplied by the user
|
java.lang.Class<?> |
expectedType()
Returns the type we want
|