aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/sendify.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sendify.ts')
-rw-r--r--src/plugins/sendify.ts41
1 files changed, 19 insertions, 22 deletions
diff --git a/src/plugins/sendify.ts b/src/plugins/sendify.ts
index d0c7af7..436a928 100644
--- a/src/plugins/sendify.ts
+++ b/src/plugins/sendify.ts
@@ -16,9 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import { Message } from "discord-types/general";
-import { PartialDeep } from "type-fest";
-
import { ApplicationCommandInputType, sendBotMessage } from "../api/Commands";
import { lazyWebpack } from "../utils";
import { Devs } from "../utils/constants";
@@ -27,33 +24,33 @@ import { filters } from "../webpack";
import { FluxDispatcher } from "../webpack/common";
interface Album {
- id: string
+ id: string;
image: {
- height: number
- width: number
- url: string
- }
- name: string
+ height: number;
+ width: number;
+ url: string;
+ };
+ name: string;
}
interface Artist {
external_urls: {
- spotify: string
- }
- href: string
- id: string
- name: string
- type: "artist" | string
- uri: string
+ spotify: string;
+ };
+ href: string;
+ id: string;
+ name: string;
+ type: "artist" | string;
+ uri: string;
}
interface Track {
- id: string
- album: Album
- artists: Artist[]
- duration: number
- isLocal: boolean
- name: string
+ id: string;
+ album: Album;
+ artists: Artist[];
+ duration: number;
+ isLocal: boolean;
+ name: string;
}
const Spotify = lazyWebpack(filters.byProps(["getPlayerState"]));