summary refs log tree commit diff
path: root/api/src/util/Message.ts
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 00:47:19 +0200
committerGitHub <noreply@github.com>2021-10-15 00:47:19 +0200
commit330e9081a73211524d47f9398879bedb67ad7275 (patch)
treed1c1e122507a2c37914931df75c77f9c2614b9de /api/src/util/Message.ts
parentMerge pull request #438 from Mr2u/dev (diff)
parent:art: exclude healthz/readyz from auth (diff)
downloadserver-330e9081a73211524d47f9398879bedb67ad7275.tar.xz
Merge pull request #454 from hbjydev/status-probes
[API] Status Probes
Diffstat (limited to 'api/src/util/Message.ts')
-rw-r--r--api/src/util/Message.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/util/Message.ts b/api/src/util/Message.ts

index f8230124..40d96b42 100644 --- a/api/src/util/Message.ts +++ b/api/src/util/Message.ts
@@ -25,6 +25,7 @@ import cheerio from "cheerio"; import { MessageCreateSchema } from "../routes/channels/#channel_id/messages"; // TODO: check webhook, application, system author +// TODO: embed gifs/videos/images const LINK_REGEX = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/g;