From 4b488a982fc8b39e1e0ac34fc4edf241d121172a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 1 Aug 2023 12:49:03 -0400 Subject: [PATCH] fix: made download bot-owner only --- musicdownloader/musicdownloader.py | 1 + 1 file changed, 1 insertion(+) 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):