├── .eslintrc.json ├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── src ├── commands │ ├── device.js │ ├── eval.js │ ├── help.js │ ├── index.js │ ├── invite.js │ ├── link.js │ ├── next.js │ ├── nowplaying.js │ ├── pause.js │ ├── ping.js │ ├── play.js │ ├── playlists.js │ ├── prev.js │ ├── privacy.js │ ├── repeat.js │ ├── resume.js │ ├── seek.js │ ├── stats.js │ ├── unlink.js │ └── volume.js ├── db │ ├── index.js │ └── tables │ │ ├── index.js │ │ └── links.js ├── events │ ├── index.js │ ├── onMessageCreate.js │ └── onReady.js ├── index.js ├── lib │ ├── constants │ │ ├── Errors.js │ │ └── index.js │ ├── http │ │ ├── GenericRequest.js │ │ ├── get.js │ │ ├── index.js │ │ ├── post.js │ │ └── put.js │ ├── models │ │ ├── Command.js │ │ ├── DatabaseTable.js │ │ ├── LinkedCommand.js │ │ └── index.js │ ├── package.json │ ├── requireDir.js │ ├── rest │ │ ├── DiscordOAuth.js │ │ ├── SpotifyAPI.js │ │ ├── SpotifyOAuth.js │ │ ├── SpotifyPlayer.js │ │ └── index.js │ └── utils │ │ ├── codeblock.js │ │ ├── concat.js │ │ ├── index.js │ │ ├── log.js │ │ ├── mergeDefaults.js │ │ ├── parseDuration.js │ │ ├── parseMS.js │ │ ├── richEmbedToText.js │ │ └── sleep.js └── web │ ├── index.js │ └── routes │ ├── discordCallback.js │ ├── index.js │ ├── link.js │ ├── root.js │ ├── spotifyCallback.js │ └── spotifyStart.js └── start.js /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/package.json -------------------------------------------------------------------------------- /src/commands/device.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/device.js -------------------------------------------------------------------------------- /src/commands/eval.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/eval.js -------------------------------------------------------------------------------- /src/commands/help.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/help.js -------------------------------------------------------------------------------- /src/commands/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/index.js -------------------------------------------------------------------------------- /src/commands/invite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/invite.js -------------------------------------------------------------------------------- /src/commands/link.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/link.js -------------------------------------------------------------------------------- /src/commands/next.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/next.js -------------------------------------------------------------------------------- /src/commands/nowplaying.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/nowplaying.js -------------------------------------------------------------------------------- /src/commands/pause.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/pause.js -------------------------------------------------------------------------------- /src/commands/ping.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/ping.js -------------------------------------------------------------------------------- /src/commands/play.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/play.js -------------------------------------------------------------------------------- /src/commands/playlists.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/playlists.js -------------------------------------------------------------------------------- /src/commands/prev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/prev.js -------------------------------------------------------------------------------- /src/commands/privacy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/privacy.js -------------------------------------------------------------------------------- /src/commands/repeat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/repeat.js -------------------------------------------------------------------------------- /src/commands/resume.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/resume.js -------------------------------------------------------------------------------- /src/commands/seek.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/seek.js -------------------------------------------------------------------------------- /src/commands/stats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/stats.js -------------------------------------------------------------------------------- /src/commands/unlink.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/unlink.js -------------------------------------------------------------------------------- /src/commands/volume.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/commands/volume.js -------------------------------------------------------------------------------- /src/db/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/db/index.js -------------------------------------------------------------------------------- /src/db/tables/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/db/tables/index.js -------------------------------------------------------------------------------- /src/db/tables/links.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/db/tables/links.js -------------------------------------------------------------------------------- /src/events/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/events/index.js -------------------------------------------------------------------------------- /src/events/onMessageCreate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/events/onMessageCreate.js -------------------------------------------------------------------------------- /src/events/onReady.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/events/onReady.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/index.js -------------------------------------------------------------------------------- /src/lib/constants/Errors.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NO_ACTIVE_DEVICE: 'No active device found' 3 | }; 4 | -------------------------------------------------------------------------------- /src/lib/constants/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/constants/index.js -------------------------------------------------------------------------------- /src/lib/http/GenericRequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/http/GenericRequest.js -------------------------------------------------------------------------------- /src/lib/http/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/http/get.js -------------------------------------------------------------------------------- /src/lib/http/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/http/index.js -------------------------------------------------------------------------------- /src/lib/http/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/http/post.js -------------------------------------------------------------------------------- /src/lib/http/put.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/http/put.js -------------------------------------------------------------------------------- /src/lib/models/Command.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/models/Command.js -------------------------------------------------------------------------------- /src/lib/models/DatabaseTable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/models/DatabaseTable.js -------------------------------------------------------------------------------- /src/lib/models/LinkedCommand.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/models/LinkedCommand.js -------------------------------------------------------------------------------- /src/lib/models/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/models/index.js -------------------------------------------------------------------------------- /src/lib/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/package.json -------------------------------------------------------------------------------- /src/lib/requireDir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/requireDir.js -------------------------------------------------------------------------------- /src/lib/rest/DiscordOAuth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/rest/DiscordOAuth.js -------------------------------------------------------------------------------- /src/lib/rest/SpotifyAPI.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/rest/SpotifyAPI.js -------------------------------------------------------------------------------- /src/lib/rest/SpotifyOAuth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/rest/SpotifyOAuth.js -------------------------------------------------------------------------------- /src/lib/rest/SpotifyPlayer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/rest/SpotifyPlayer.js -------------------------------------------------------------------------------- /src/lib/rest/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/rest/index.js -------------------------------------------------------------------------------- /src/lib/utils/codeblock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/utils/codeblock.js -------------------------------------------------------------------------------- /src/lib/utils/concat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/utils/concat.js -------------------------------------------------------------------------------- /src/lib/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/utils/index.js -------------------------------------------------------------------------------- /src/lib/utils/log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/utils/log.js -------------------------------------------------------------------------------- /src/lib/utils/mergeDefaults.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/utils/mergeDefaults.js -------------------------------------------------------------------------------- /src/lib/utils/parseDuration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/utils/parseDuration.js -------------------------------------------------------------------------------- /src/lib/utils/parseMS.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/utils/parseMS.js -------------------------------------------------------------------------------- /src/lib/utils/richEmbedToText.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/utils/richEmbedToText.js -------------------------------------------------------------------------------- /src/lib/utils/sleep.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/lib/utils/sleep.js -------------------------------------------------------------------------------- /src/web/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/web/index.js -------------------------------------------------------------------------------- /src/web/routes/discordCallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/web/routes/discordCallback.js -------------------------------------------------------------------------------- /src/web/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/web/routes/index.js -------------------------------------------------------------------------------- /src/web/routes/link.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/web/routes/link.js -------------------------------------------------------------------------------- /src/web/routes/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/web/routes/root.js -------------------------------------------------------------------------------- /src/web/routes/spotifyCallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/web/routes/spotifyCallback.js -------------------------------------------------------------------------------- /src/web/routes/spotifyStart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/src/web/routes/spotifyStart.js -------------------------------------------------------------------------------- /start.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aetheryx/spotify-connect/HEAD/start.js --------------------------------------------------------------------------------