Merge pull request #21 from Tari-dev/patch-1

[Examples] set_context shouldn't be async function
This commit is contained in:
VP 2022-02-05 22:09:41 +02:00 committed by GitHub
commit d835c4d35f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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