allowed Mentions
inline fun MessageModifyBuilder.allowedMentions(block: AllowedMentionsBuilder.() -> Unit = {})(source)
Deprecated
Replaced by extension on 'MessageBuilder'. Change import to 'dev.kord.rest.builder.message.allowedMentions'.
Replace with
import dev.kord.rest.builder.message.allowedMentions
Content copied to clipboard
this.allowedMentions(block)Content copied to clipboard
Configures the mentions that should trigger a ping. Not calling this function will result in the default behavior (ping everything), calling this function but not configuring it before the request is build will result in all pings being ignored.