Skip to main content

Module discord

Module discord 

Source
Expand description

Discord message link expansion.

This module provides functionality for parsing Discord message links and generating embed previews of the linked messages.

Migrated from preview.rs with support for multiple link expansion.

Structs§

MessageLinkIDs
Parsed IDs from a Discord message link.
Preview
A preview containing the message and its channel.

Enums§

PreviewError
Errors that can occur when generating a Discord message preview.

Statics§

MESSAGE_LINK_REGEX
Regex pattern for matching Discord message links.