Go to Latest
interface DiscordAllowedMentions
import { type DiscordAllowedMentions } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";

Properties

optional
parse: AllowedMentionsTypes[]

An array of allowed mention types to parse from the content.

optional
replied_user: boolean

For replies, whether to mention the author of the message being replied to (default false)

optional
roles: string[]

Array of role_ids to mention (Max size of 100)

optional
users: string[]

Array of user_ids to mention (Max size of 100)

import DiscordAllowedMentions
import { DiscordAllowedMentions } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";