From f17003ce7b584ccc114d2a827a65acc86ad15a1d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 4 Jan 2019 17:59:00 +0100 Subject: [PATCH] Implement placeholder get_suggestion in YoutubeDLVideo --- discordbot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/discordbot.py b/discordbot.py index 184d0afd..9f578b18 100644 --- a/discordbot.py +++ b/discordbot.py @@ -112,8 +112,6 @@ class Video: raise NotImplementedError() -# this is not an abstract class pycharm wtf -# noinspection PyAbstractClass class YoutubeDLVideo(Video): """A file sourcing from YoutubeDL.""" @@ -186,6 +184,9 @@ class YoutubeDLVideo(Video): self.audio_source = discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(self.get_filename(), **ffmpeg_settings)) return self.audio_source + def get_suggestion(self): + return None + class LoopMode(enum.Enum): NORMAL = enum.auto()