channelBelow

suspend fun <T : Event> CheckContext<T>.channelBelow(builder: suspend (T) -> GuildChannelBehavior)

Check asserting that the channel an Event fired in is below the given channel in the channel list.

Only events that can reasonably be associated with a single channel are supported. Please raise an issue if an event you expected to be supported, isn't.

Parameters

builder

Lambda returning the channel to compare to.