diff --git a/musicdownloader/musicdownloader.py b/musicdownloader/musicdownloader.py index acbb165..d647868 100644 --- a/musicdownloader/musicdownloader.py +++ b/musicdownloader/musicdownloader.py @@ -27,6 +27,7 @@ class MusicDownloader(commands.Cog): await ctx.send("The path you've provided doesn't exist!") @commands.command(aliases=["dl"]) + @checks.is_owner() async def download(self, ctx: commands.Context, url: str, subfolder: str = None): """This command downloads a YouTube Video as an MP3 to the local music directory.""" def youtube_download(self, url: str, path: str, message: discord.Message):