Merge pull request #21 from Tari-dev/patch-1
[Examples] set_context shouldn't be async function
This commit is contained in:
commit
d835c4d35f
|
|
@ -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