added support for youtube music links
parent
4b9c40177a
commit
6f228edb06
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ Only if includes: mod
|
|||
### Replace YouTube links and YouTube Shorts links with `youtu.be` links
|
||||
*This also allows YouTube Shorts to be embedded and played as normal videos.*
|
||||
```regex
|
||||
Find: https?:\/\/(?:www\.)?youtube\.com\/(?:watch\?v=|embed\/|shorts\/)([\w\-]+)
|
||||
Find: https?:\/\/(?:www|music)?(?:\.)?youtube\.com\/(?:watch\?v=|embed\/|shorts\/)([\w\-]+)
|
||||
Replace: https://youtu.be/$1
|
||||
```
|
||||
### Replace `media.discordapp.com` links with `cdn.discordapp.com`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue