Skip to content

Commit

Permalink
Update spotify.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TEZZ444 authored Feb 27, 2024
1 parent 72e07a9 commit 3f2e1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/Message/Music/spotify.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { EmbedBuilder, ButtonBuilder, ActionRowBuilder } from "discord.js";
import SpotiPro from "spoti-pro";
const clientId = "YOUR_SPOTIFY_CLIENT_ID";
const clientSecret = "YOUR_SPOTIFY_SECRET";
const spoti = new SpotiPro(clientId, clientSecret);
const limit = 5;
const country = "IN";
Expand All @@ -25,6 +23,8 @@ export default {
},
run: async ({ client, message, args, ServerData, Color }) => {
let prefix = ServerData.prefix;
const clientId = client.Config.SpotifyClientId;
const clientSecret = client.Config.SpotifyClientSecret;
const query = args.join(" ");
if (!query) {
setTimeout(() => {
Expand Down

0 comments on commit 3f2e1b8

Please sign in to comment.