play mkv sounds
All checks were successful
Build Heidi Docker image / build-docker (push) Successful in 8s

This commit is contained in:
2023-11-21 21:45:39 +01:00
parent 3c44066f1f
commit ca91617371

2
bot.py
View File

@ -281,7 +281,7 @@ async def say_voiceline(interaction: discord.Interaction, board: str, sound: str
await interaction.response.send_message(f"Heidi sagt: \"{board}/{sound}\"")
audio_source = discord.FFmpegPCMAudio(SOUNDDIR + board + "/" + sound + ".mp3") # only works from docker
audio_source = discord.FFmpegPCMAudio(SOUNDDIR + board + "/" + sound + ".mkv") # only works from docker
voice_client = await voice_channel.connect()
voice_client.play(audio_source)