diff --git a/royalnet/audio/discordytdl.py b/royalnet/audio/discordytdl.py new file mode 100644 index 00000000..856e12f2 --- /dev/null +++ b/royalnet/audio/discordytdl.py @@ -0,0 +1,7 @@ +import discord +from .youtubedl import YtdlFile + + +class DiscordYtdlFile(YtdlFile): + def create_audio_source(self): + return discord.FFmpegPCMAudio(self.filename)