Skip to content

Commit

Permalink
[Discord] Rename Player to AudioPlayerView
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Dec 1, 2023
1 parent 3ae3083 commit c82faa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Discord/cogs/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ async def playing(self, ctx):

requester = ctx.guild.voice_client.source.requester

view = Player(ctx)
view = AudioPlayerView(ctx)
view.message = await ctx.embed_reply(
title = title,
title_url = title_url,
Expand Down Expand Up @@ -1476,7 +1476,7 @@ async def get_spotify_access_token(self):
return data["access_token"]


class Player(ui.View):
class AudioPlayerView(ui.View):

def __init__(self, ctx):
super().__init__(timeout = 600)
Expand Down

0 comments on commit c82faa9

Please sign in to comment.