Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>DiscordAllowedMentions

An object oriented Discordeno framework
Latest
interface DiscordAllowedMentions
import { type DiscordAllowedMentions } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Properties

optional
parse: AllowedMentionsTypes[]

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

optional
repliedUser: 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)