mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-09 20:22:47 +01:00
✨ mention regex
This commit is contained in:
parent
077050b71c
commit
a467c86399
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user