Sending more code

This commit is contained in:
Rafael Vargas
2023-02-19 13:40:37 -03:00
parent 7d53840f87
commit 1f45b64a62
14 changed files with 69 additions and 49 deletions

View File

@@ -40,7 +40,7 @@ class MusicCog(Cog):
self.__bot: VulkanBot = bot
self.__embeds = VEmbeds()
configs = VConfigs()
if configs.SHOULD_AUTO_DISCONNECT_WHEN_ALONE:
if configs.SONG_PLAYBACK_IN_SEPARATE_PROCESS:
configs.setPlayersManager(ProcessPlayerManager(bot))
else:
configs.setPlayersManager(ThreadPlayerManager(bot))