[Examples] set_context shouldn't be async function
This commit is contained in:
parent
c0fd4fe734
commit
9f65af2c15
|
|
@ -72,7 +72,7 @@ class Player(pomice.Player):
|
|||
if self.controller:
|
||||
await self.controller.delete()
|
||||
|
||||
async def set_context(self, ctx: commands.Context):
|
||||
def set_context(self, ctx: commands.Context):
|
||||
"""Set context for the player"""
|
||||
self.context = ctx
|
||||
self.dj = ctx.author
|
||||
|
|
|
|||
Loading…
Reference in New Issue