├── .github └── FUNDING.yml ├── README.md ├── index.js └── manifest.json /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: ['https://paypal.me/eternal404'] 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Spotify Crack [![CodeFactor](https://www.codefactor.io/repository/github/discord-modifications/spotify-crack/badge)](https://www.codefactor.io/repository/github/discord-modifications/spotify-crack) [![GitHub issues](https://img.shields.io/github/issues/slow/spotify-crack?style=flat)](https://github.com/discord-modifications/spotify-crack/issues) [![GitHub stars](https://img.shields.io/github/stars/slow/spotify-crack?style=flat)](https://github.com/discord-modifications/spotify-crack/stargazers) [![Support](https://img.shields.io/discord/887015827134632057)](https://discord.gg/HQ5N7Rcajc) 2 | Allows you to listen along with discord users without premium. 3 | 4 | # Requirements 5 | - Powercord 6 | 7 | # Installation 8 | - `git clone https://github.com/discord-modifications/spotify-crack` 9 | 10 | # "It isn't working" 11 | - Make sure you only have one spotify account connected to your discord 12 | - Make sure you are logged into the spotify desktop app with that same account 13 | - If you haven't already, fully restart discord 14 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const { FluxDispatcher: Dispatcher, getModule } = require('powercord/webpack'); 2 | const { inject, uninject } = require('powercord/injector'); 3 | const { Plugin } = require('powercord/entities'); 4 | 5 | const Spotify = getModule(['isSpotifyPremium'], false); 6 | const Profile = getModule(['getProfile'], false); 7 | 8 | module.exports = class extends Plugin { 9 | startPlugin() { 10 | inject('spotify-crack-is', Spotify, 'isSpotifyPremium', () => Promise.resolve(true)); 11 | 12 | Spotify._ensureSpotifyPremium = Spotify.ensureSpotifyPremium; 13 | Spotify.ensureSpotifyPremium = () => Promise.resolve(true); 14 | 15 | inject('spotify-crack', Profile, 'getProfile', async (args) => { 16 | Dispatcher.dispatch({ type: 'SPOTIFY_PROFILE_UPDATE', accountId: args[0], isPremium: true }); 17 | }); 18 | } 19 | 20 | pluginWillUnload() { 21 | uninject('spotify-crack'); 22 | uninject('spotify-crack-is'); 23 | 24 | Spotify.ensureSpotifyPremium = Spotify._ensureSpotifyPremium 25 | } 26 | }; 27 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Spotify Crack", 3 | "version": "1.0.0", 4 | "description": "Allows you to listen along with discord users without premium.", 5 | "author": "eternal", 6 | "discord": "HQ5N7Rcajc", 7 | "license": "Unlicensed" 8 | } --------------------------------------------------------------------------------