Baracchino-Della-Scuola / Bot

Undefined name detected PYL-E0602
Bug risk
8 months ago9 months old
Undefined variable 'bot'
14        self.tts = aiogTTS()
15
16    async def to_bytes(self, url):
17        async with bot.session.get(url) as r:18            res = await r.read()
19            return res
20
Undefined variable 'dance_loop'
 12                    source, after=lambda e: print("Player error: %s" % e) if e else None
 13                )
 14        else:
 15            dance_loop.stop() 16
 17    def __init__(self, bot):
 18        self.bot = bot