feat: twitch embed
This commit is contained in:
@ -135,7 +135,14 @@ export const SoundCloudRegex = /soundcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-
|
||||
/**
|
||||
* Mixcloud regex
|
||||
*/
|
||||
|
||||
export const MixCloudRegex = /mixcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-Z0-9-]+)/;
|
||||
|
||||
/**
|
||||
* Spotify embed regex
|
||||
*/
|
||||
export const SpotifyRegex = /open\.spotify\.com\/(track|album|playlist|episode)\/([a-zA-Z0-9]+)/;
|
||||
|
||||
/**
|
||||
* Twitch embed regex
|
||||
*/
|
||||
export const TwitchRegex = /twitch.tv\/([a-z0-9_]+$)/i;
|
||||
|
Reference in New Issue
Block a user