summary refs log tree commit diff
path: root/api/src/util/Message.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 00:44:19 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 00:44:19 +0200
commit288eeab6bbb793473788dffa1cae68790ead6d0e (patch)
tree3b60a63f8a7c6317cb43fda1f7ab29993814b587 /api/src/util/Message.ts
parentfeat: implement a database check on the healthz and readyz probes, remove /-/... (diff)
parent:art: do not automatically create default guild (diff)
downloadserver-288eeab6bbb793473788dffa1cae68790ead6d0e.tar.xz
Merge branch 'master' into pr/hbjydev/454
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;