|
|
|
@ -20,6 +20,7 @@ import { definePluginSettings } from "@api/Settings";
|
|
|
|
|
import { Devs } from "@utils/constants";
|
|
|
|
|
import definePlugin, { OptionType } from "@utils/types";
|
|
|
|
|
import { showToast, Toasts } from "@webpack/common";
|
|
|
|
|
import type { MouseEvent } from "react";
|
|
|
|
|
|
|
|
|
|
const ShortUrlMatcher = /^https:\/\/(spotify\.link|s\.team)\/.+$/;
|
|
|
|
|
const SpotifyMatcher = /^https:\/\/open\.spotify\.com\/(track|album|artist|playlist|user)\/(.+)(?:\?.+?)?$/;
|
|
|
|
|