diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-18 20:17:36 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-18 20:17:36 +1100 |
commit | 51c766a8313e5696fec1ba4ff8fcde18e3b533d4 (patch) | |
tree | 4ee335ec1eee5700bee5615026185cbc4e987d7c | |
parent | Don't fetch the emoji owner in identify, as this causes mass-disconnects with... (diff) | |
parent | Add youtu.be embed handler (#945) (diff) | |
download | server-51c766a8313e5696fec1ba4ff8fcde18e3b533d4.tar.xz |
Merge branch 'master' of github.com:fosscord/fosscord-server
-rw-r--r-- | src/api/util/utility/EmbedHandlers.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/api/util/utility/EmbedHandlers.ts b/src/api/util/utility/EmbedHandlers.ts index 87215ace..522ff82b 100644 --- a/src/api/util/utility/EmbedHandlers.ts +++ b/src/api/util/utility/EmbedHandlers.ts @@ -420,7 +420,9 @@ export const EmbedHandlers: { }, }; }, - + "youtu.be": (url: URL) => { + return EmbedHandlers["www.youtube.com"](url); + }, "youtube.com": (url: URL) => { return EmbedHandlers["www.youtube.com"](url); }, |