mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-23 02:42:28 +01:00
✨ mention regex
This commit is contained in:
parent
ec45de15ab
commit
e00651dc2f
@ -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