1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Send ctx instead of requester

This commit is contained in:
Phxntxm 2017-05-07 21:07:24 -05:00
parent 4ebfcf6613
commit 4cb478eb8e

View file

@ -240,9 +240,8 @@ class Music:
state.required_skips = math.ceil((num_members + 1) / 3)
async def add_entry(self, song, ctx):
requester = ctx.message.author
state = self.voice_states[ctx.message.guild.id]
entry, _ = await state.songs.add_entry(song, requester)
entry, _ = await state.songs.add_entry(song, ctx)
return entry
@commands.command(pass_context=True)