Skip to content

✨ feat(bot): add a spoiler flag and support masked links in messages - #6

Merged
rosethornbush merged 2 commits into
mainfrom
devel
Sep 13, 2025
Merged

✨ feat(bot): add a spoiler flag and support masked links in messages#6
rosethornbush merged 2 commits into
mainfrom
devel

Conversation

@rosethornbush

Copy link
Copy Markdown
Contributor

reworked the flags system and added SPOILER flag.

flags are now defined as an enum:

export enum EmbedFlags {
MediaOnly = "MediaOnly",
Spoiler = "Spoiler"
}

the new flag (SPOILER) supports:

  • Discord's masked text syntax ||{text}||
  • being used as a command flag /embed {url} spoiler:True

00VDm8WG@2x i1fl7KUb@2x

@rosethornbush rosethornbush self-assigned this Sep 13, 2025
@rosethornbush rosethornbush added the enhancement New feature or request label Sep 13, 2025
@changeset-bot

changeset-bot Bot commented Sep 13, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d418af8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@embedly/builder Minor
@embedly/parser Minor
@embedly/bot Minor
@embedly/api Minor
@embedly/config Minor
@embedly/logging Minor
@embedly/platforms Minor
@embedly/types Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rosethornbush
rosethornbush merged commit 26b85a3 into main Sep 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant