From 9f65af2c15e426a60d3282b3886a19894286ce57 Mon Sep 17 00:00:00 2001 From: Tari <65512380+Tari-dev@users.noreply.github.com> Date: Sun, 6 Feb 2022 01:18:22 +0530 Subject: [PATCH] [Examples] set_context shouldn't be async function --- examples/advanced.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/advanced.py b/examples/advanced.py index 85350fe..e1e83de 100644 --- a/examples/advanced.py +++ b/examples/advanced.py @@ -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