Properties
Static TimestampStyles
TimestampStyles: { 
    LongDate: "D"; 
    LongDateTime: "F"; 
    LongTime: "T"; 
    RelativeTime: "R"; 
    ShortDate: "d"; 
    ShortDateTime: "f"; 
    ShortTime: "t"; 
}
Type declaration
- 
ReadonlyLongDate: "D"
- 
ReadonlyLongDateTime: "F"
- 
ReadonlyLongTime: "T"
- 
ReadonlyRelativeTime: "R"
- 
ReadonlyShortDate: "d"
- 
ReadonlyShortDateTime: "f"
- 
ReadonlyShortTime: "t"
 
Static blockQuote
blockQuote: (<Content>(content) => `>>> ${Content}`)
Type declaration
- 
- <Content>(content): `>>> ${Content}`
- 
Returns `>>> ${Content}`
 
 
Static bold
bold: (<Content>(content) => `**${Content}**`)
Type declaration
- 
- <Content>(content): `**${Content}**`
- 
Returns `**${Content}**`
 
 
Static channelMention
channelMention: (<ChannelId>(channelId) => `<#${ChannelId}>`)
Type declaration
- 
- <ChannelId>(channelId): `<#${ChannelId}>`
- 
Returns `<#${ChannelId}>`
 
 
Static codeBlock
codeBlock: { 
    <Content>(content): ````
${Content}
````; 
    <Language, Content>(language, content): ````${Language}
${Content}
````; 
}
Type declaration
- 
- <Content>(content): ````
${Content}
````
- 
Returns ````
${Content}
````
- <Language, Content>(language, content): ````${Language}
${Content}
````
- 
Type Parameters
- 
Language extends string
- 
Content extends string
 
Parameters
- 
language: Language
- 
content: Content
 
 Returns ````${Language}
${Content}
````
 
 
Static formatEmoji
formatEmoji: { 
    <EmojiId>(emojiId, animated?): `<:_:${EmojiId}>`; 
    <EmojiId>(emojiId, animated?): `<a:_:${EmojiId}>`; 
    <EmojiId>(emojiId, animated?): `<:_:${EmojiId}>` | `<a:_:${EmojiId}>`; 
    <EmojiId, EmojiName>(options): `<a:${EmojiName}:${EmojiId}>`; 
    <EmojiId, EmojiName>(options): `<:${EmojiName}:${EmojiId}>`; 
    <EmojiId, EmojiName>(options): `<:${EmojiName}:${EmojiId}>` | `<a:${EmojiName}:${EmojiId}>`; 
}
Type declaration
- 
- <EmojiId>(emojiId, animated?): `<:_:${EmojiId}>`
- 
Parameters
- 
emojiId: EmojiId
- 
Optionalanimated: false
 
 Returns `<:_:${EmojiId}>`
- <EmojiId>(emojiId, animated?): `<a:_:${EmojiId}>`
- 
Parameters
- 
emojiId: EmojiId
- 
Optionalanimated: true
 
 Returns `<a:_:${EmojiId}>`
- <EmojiId>(emojiId, animated?): `<:_:${EmojiId}>` | `<a:_:${EmojiId}>`
- 
Parameters
- 
emojiId: EmojiId
- 
Optionalanimated: boolean
 
 Returns `<:_:${EmojiId}>` | `<a:_:${EmojiId}>`
- <EmojiId, EmojiName>(options): `<a:${EmojiName}:${EmojiId}>`
- 
Type Parameters
- 
EmojiId extends string
- 
EmojiName extends string
 Returns `<a:${EmojiName}:${EmojiId}>`
- <EmojiId, EmojiName>(options): `<:${EmojiName}:${EmojiId}>`
- 
Type Parameters
- 
EmojiId extends string
- 
EmojiName extends string
 Returns `<:${EmojiName}:${EmojiId}>`
- <EmojiId, EmojiName>(options): `<:${EmojiName}:${EmojiId}>` | `<a:${EmojiName}:${EmojiId}>`
- 
Type Parameters
- 
EmojiId extends string
- 
EmojiName extends string
 Returns `<:${EmojiName}:${EmojiId}>` | `<a:${EmojiName}:${EmojiId}>`
 
 
Static hideLinkEmbed
hideLinkEmbed: { 
    <Content>(url): `<${Content}>`; 
    (url): `<${string}>`; 
}
Type declaration
- 
- <Content>(url): `<${Content}>`
- 
Returns `<${Content}>`
- (url): `<${string}>`
- 
Returns `<${string}>`
 
 
Static hyperlink
hyperlink: { 
    <Content>(content, url): `[${Content}](${string})`; 
    <Content, Url>(content, url): `[${Content}](${Url})`; 
    <Content, Title>(content, url, title): `[${Content}](${string} "${Title}")`; 
    <Content, Url, Title>(content, url, title): `[${Content}](${Url} "${Title}")`; 
}
Type declaration
- 
- <Content>(content, url): `[${Content}](${string})`
- 
Parameters
- 
content: Content
- 
url: URL
 
 Returns `[${Content}](${string})`
- <Content, Url>(content, url): `[${Content}](${Url})`
- 
Type Parameters
- 
Content extends string
- 
Url extends string
 
Parameters
- 
content: Content
- 
url: Url
 
 Returns `[${Content}](${Url})`
- <Content, Title>(content, url, title): `[${Content}](${string} "${Title}")`
- 
Type Parameters
- 
Content extends string
- 
Title extends string
 
Parameters
- 
content: Content
- 
url: URL
- 
title: Title
 
 Returns `[${Content}](${string} "${Title}")`
- <Content, Url, Title>(content, url, title): `[${Content}](${Url} "${Title}")`
- 
Type Parameters
- 
Content extends string
- 
Url extends string
- 
Title extends string
 
Parameters
- 
content: Content
- 
url: Url
- 
title: Title
 
 Returns `[${Content}](${Url} "${Title}")`
 
 
Static inlineCode
inlineCode: (<Content>(content) => ``${Content}``)
Type declaration
- 
- <Content>(content): ``${Content}``
- 
Returns ``${Content}``
 
 
Static italic
italic: (<Content>(content) => `_${Content}_`)
Type declaration
- 
- <Content>(content): `_${Content}_`
- 
Returns `_${Content}_`
 
 
Static quote
quote: (<Content>(content) => `> ${Content}`)
Type declaration
- 
- <Content>(content): `> ${Content}`
- 
Returns `> ${Content}`
 
 
Static roleMention
roleMention: (<RoleId>(roleId) => `<@&${RoleId}>`)
Type declaration
- 
- <RoleId>(roleId): `<@&${RoleId}>`
- 
Returns `<@&${RoleId}>`
 
 
Static spoiler
spoiler: (<Content>(content) => `||${Content}||`)
Type declaration
- 
- <Content>(content): `||${Content}||`
- 
Returns `||${Content}||`
 
 
Static strikethrough
strikethrough: (<Content>(content) => `~~${Content}~~`)
Type declaration
- 
- <Content>(content): `~~${Content}~~`
- 
Returns `~~${Content}~~`
 
 
Static time
time: { 
    (date?): `<t:${bigint}>`; 
    <Style>(date, style): `<t:${bigint}:${Style}>`; 
    <Seconds>(seconds): `<t:${Seconds}>`; 
    <Seconds, Style>(seconds, style): `<t:${Seconds}:${Style}>`; 
}
Type declaration
- 
- (date?): `<t:${bigint}>`
- 
Returns `<t:${bigint}>`
- <Style>(date, style): `<t:${bigint}:${Style}>`
- 
Returns `<t:${bigint}:${Style}>`
- <Seconds>(seconds): `<t:${Seconds}>`
- 
Returns `<t:${Seconds}>`
- <Seconds, Style>(seconds, style): `<t:${Seconds}:${Style}>`
- 
Parameters
- 
seconds: Seconds
- 
style: Style
 
 Returns `<t:${Seconds}:${Style}>`
 
 
Static underscore
underscore: (<Content>(content) => `__${Content}__`)
Type declaration
- 
- <Content>(content): `__${Content}__`
- 
Returns `__${Content}__`
 
 
Static userMention
userMention: (<UserId>(userId) => `<@${UserId}>`)
Type declaration
- 
- <UserId>(userId): `<@${UserId}>`
- 
Returns `<@${UserId}>`
 
  
Deprecated
This class is redundant as all methods of the class can be imported from discord.js directly.