Fix regex bug
This commit is contained in:
parent
e3d06fde1a
commit
67d869ecc0
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ checker.on("message", (ctx, next) => {
|
||||||
user!.media = { type: "pin", url: link };
|
user!.media = { type: "pin", url: link };
|
||||||
} else if (domain == "vm.tiktok.com" || domain == "tiktok.com") {
|
} else if (domain == "vm.tiktok.com" || domain == "tiktok.com") {
|
||||||
user!.media = { type: "tt", url: link };
|
user!.media = { type: "tt", url: link };
|
||||||
} else if (domain == "www.instagram.com" || domain == "instagram.com") {
|
} else if (domain == "instagram.com") {
|
||||||
user!.media = { type: "ig", url: link };
|
user!.media = { type: "ig", url: link };
|
||||||
} else if (domain == "soundcloud.com" || domain == "on.soundcloud.com") {
|
} else if (domain == "soundcloud.com" || domain == "on.soundcloud.com") {
|
||||||
user!.media = { type: "sc", url: link };
|
user!.media = { type: "sc", url: link };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue