mirror of
https://github.com/weyne85/discord_music_bot.git
synced 2025-10-29 16:58:27 +00:00
Trying to fix error
This commit is contained in:
@@ -116,7 +116,7 @@ class ThreadPlayerManager(Singleton, AbstractPlayersManager):
|
||||
else:
|
||||
voiceID: int = context.author.voice.channel.id
|
||||
|
||||
voiceChannel = self.__bot.get_channel(voiceID)
|
||||
voiceChannel = context.author.voice.channel
|
||||
|
||||
playlist = Playlist()
|
||||
lock = RLock()
|
||||
@@ -144,7 +144,7 @@ class ThreadPlayerManager(Singleton, AbstractPlayersManager):
|
||||
voiceID: int = context.user.voice.channel.id
|
||||
else:
|
||||
voiceID: int = context.author.voice.channel.id
|
||||
voiceChannel = self.__bot.get_channel(voiceID)
|
||||
voiceChannel = context.author.voice.channel
|
||||
|
||||
playlist = self.__playersThreads[guildID].getPlaylist()
|
||||
lock = RLock()
|
||||
|
||||
Reference in New Issue
Block a user