Hello! I have a trouble with my music bot. I'm trying to play next track using _after = checkqueue. But i can use await only inside async def functions, so i cant use await. Without await i'm getting generator instead of thread (that seems quite logical). And when i'm trying to use yield or yield from, function check_queue just doesnt calling. Can you help me to reslove this problem?
omg i watched this answer for 3 days and tried to use for full function, but only now understood that i should use this for coroutine. Many thanks @Gorialis
Hello! I have a trouble with my music bot. I'm trying to play next track using _after = checkqueue. But i can use await only inside async def functions, so i cant use await. Without await i'm getting generator instead of thread (that seems quite logical). And when i'm trying to use yield or yield from, function check_queue just doesnt calling. Can you help me to reslove this problem?