diff --git a/music_commands.py b/music_commands.py index 4a1b7f1..ca1c9f9 100644 --- a/music_commands.py +++ b/music_commands.py @@ -597,7 +597,15 @@ class MusicModule(commands.Cog): self.logger.error("Not possible to connect to voice") return self.logger.info("Connected to voice") - + @commands.hybrid_command( + name="batch_downloade", + description="ZaciÄ…ga obiekty z pliku", + guild=discord.Object(id=664789470779932693), + ) + async def batch_download(self,ctx, attachment): + self.ctx.reply(attachment.content_type) + contents = await attachment.read() + self.logger.info(contents) async def disconnect(self, ctx): """ Asynchronous Python function that disconnects the voice client if it is connected and