MessageConverter
constructor(requireGuild: Boolean = false, requiredGuild: suspend () -> Snowflake? = null, useReply: Boolean = true, validator: Validator<Message> = null)
Parameters
requireGuild
Whether to require messages to be in a specified guild.
requiredGuild
Lambda returning a specific guild to require the member to be in. If omitted, defaults to the guild the command was invoked in.
useReply
Whether to use the replied-to message (if there is one) instead of trying to parse an argument.