moonstar-x / discord-tts-bot

A Text-to-Speech bot for Discord.
https://docs.moonstar-x.dev/discord-tts-bot
MIT License
98 stars 84 forks source link

Disconnect timeout can be bypassed by moving the bot to another channel. #45

Closed moonstar-x closed 2 years ago

moonstar-x commented 3 years ago

:bug: Describe the Bug

Currently, the disconnect scheduler is being passed an old instance of the voice channel. If the bot is moved to another channel, the scheduler calls .leave() on the old channel.

moonstar-x commented 2 years ago

Fixed in #58.