Skip to content

Commit

Permalink
key access potentially unstated key
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Sep 9, 2023
1 parent 1048bd1 commit 64b20cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alexBot/cogs/voiceTTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async def sendTTS(self, text: str, ttsInstance: TTSInstance, ttsUser: TTSUserIns

sound = discord.FFmpegOpusAudio(buff_sound, pipe=True)
ttsInstance.queue.append(sound)
if not self.running_queue_handlers[ttsInstance.voiceClient.guild.id]:
if not self.running_queue_handlers.get(ttsInstance.voiceClient.guild.id):
await self.queue_handler(ttsInstance)

async def queue_handler(self, instance: TTSInstance):
Expand Down

0 comments on commit 64b20cb

Please sign in to comment.