mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-24 19:05:29 +00:00
✨ mention regex
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
export const DOUBLE_WHITE_SPACE = /\s\s+/g;
|
||||
export const SPECIAL_CHAR = /[@#`:\r\n\t\f\v\p{C}]/gu;
|
||||
export const CHANNEL_MENTION = /<#(\d+)>/g;
|
||||
export const USER_MENTION = /<@!?(\d+)>/g;
|
||||
export const ROLE_MENTION = /<@&(\d+)>/g;
|
||||
export const EVERYONE_MENTION = /@everyone/g;
|
||||
export const HERE_MENTION = /@here/g;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from "./Regex";
|
||||
export * from "./String";
|
||||
export * from "./BitField";
|
||||
export * from "./Intents";
|
||||
|
||||
Reference in New Issue
Block a user