1
0
Fork 0
mirror of synced 2024-05-05 05:02:30 +12:00

Correct permission required for spotify

This commit is contained in:
phxntxm 2018-04-24 18:00:25 -05:00
parent c933457c72
commit ad91fa4030

View file

@ -35,7 +35,7 @@ class Spotify:
@commands.group()
@commands.guild_only()
@utils.custom_perms(manage_guild=True)
@utils.custom_perms(send_messages=True)
@utils.check_restricted()
async def spotify(self, ctx, *, query):
"""Searches Spotify for a song, giving you the link you can use to listen in"""
@ -51,7 +51,7 @@ class Spotify:
@spotify.command()
@commands.guild_only()
@utils.custom_perms(manage_guild=True)
@utils.custom_perms(send_messages=True)
@utils.check_restricted()
async def playlist(self, ctx, *, query):
# Setup the headers with the token that should be here