mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
WIP Discord YtdlFile
This commit is contained in:
parent
cd8f2b5bff
commit
992b643f5b
1 changed files with 7 additions and 0 deletions
7
royalnet/audio/discordytdl.py
Normal file
7
royalnet/audio/discordytdl.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import discord
|
||||||
|
from .youtubedl import YtdlFile
|
||||||
|
|
||||||
|
|
||||||
|
class DiscordYtdlFile(YtdlFile):
|
||||||
|
def create_audio_source(self):
|
||||||
|
return discord.FFmpegPCMAudio(self.filename)
|
Loading…
Reference in a new issue