Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface DiscordAllowedMentions
Re-export
import { type DiscordAllowedMentions } from "https://deno.land/x/discordeno@17.2.0/template/beginner/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)