diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts index a42b7e595..bd0f7f2e3 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts @@ -56,7 +56,7 @@ const allow_empty = false; // TODO: check webhook, application, system author, stickers // TODO: embed gifs/videos/images -const LINK_REGEX = /?/g; +const LINK_REGEX = /?/g; export async function handleMessage(opts: MessageOptions): Promise { const channel = await Channel.findOneOrFail({