Skip to content

Commit

Permalink
i fucking hate spotify dude like what the fuck is this stupid ass aut…
Browse files Browse the repository at this point in the history
…horization shit like got damn what the hell is wrong with you
  • Loading branch information
Nathaniel Tooley committed Nov 4, 2021
1 parent 51380c5 commit e351867
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cogs/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ async def _vote_yes(self, ctx: SlashContext, poll_creator):
track = utils.SpotifyHelpers.get_track(utils.SpotifyHelpers.parse_id_out_of_url(poll.song_url))

if meets_vote_req:
await ctx.send(f"The vote on {track['name']} has passed! It will be added to our playlist")
Music.add_song_to_playlist(poll.song_url)
await ctx.send(f"The vote on {track['name']} has passed! It will be added to our playlist (Manually, "
f"Don't ask why or I will kill myself)")
# Music.add_song_to_playlist(poll.song_url)
poll.delete()
return

Expand Down
2 changes: 1 addition & 1 deletion svc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ def create_auth_spotify_object():
class SpotifyHelpers:

spotify = SpotifyCreator.create_spotify_object()
auth_spotify = SpotifyCreator.create_auth_spotify_object()
auth_spotify = None # SpotifyCreator.create_auth_spotify_object()

@staticmethod
def get_all_playlist_tracks(playlist_id='6yO77cQ0JTMKuNxLh47oLX'):
Expand Down

0 comments on commit e351867

Please sign in to comment.