ChannelConverter

constructor(requireSameGuild: Boolean = true, requiredGuild: suspend () -> Snowflake? = null, requiredChannelTypes: Set<ChannelType> = setOf(), validator: Validator<Channel> = null)

Parameters

requireSameGuild

Whether to require that the channel passed is on the same guild as the message.

requiredGuild

Lambda returning a specific guild to require the channel to be in, if needed.