aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/sendify.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-23 23:23:52 +0200
committerGitHub <noreply@github.com>2022-10-23 23:23:52 +0200
commit5fac8be0ae68cbbdf3514973cbf925a31a765ef5 (patch)
tree8c184e0a2a9c8f4480e4c3880a58833e089a3da6 /src/plugins/sendify.ts
parentffbb52512cd61764cfe04c1cf2707eb63d5e57bf (diff)
downloadVencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.gz
Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.bz2
Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.zip
Vencord Standalone without git/node (#148)
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"]));