From 489dd9feb65ad8b21d3f98605a78b46075ac1d1c Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Sun, 10 Nov 2024 18:31:45 +0100 Subject: [PATCH] cat got more sleep --- music_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_commands.py b/music_commands.py index a53591f..c66ed7e 100644 --- a/music_commands.py +++ b/music_commands.py @@ -604,7 +604,7 @@ class MusicModule(commands.Cog): guild=discord.Object(id=664789470779932693), ) async def batch_download(self, ctx): - content_type = ctx.message.attachments[0].contluzent_type + content_type = ctx.message.attachments[0].content_type check = re.search ("text\/plain; *charset=(.*)", content_type, re.IGNORECASE) if check: file_bytes = await ctx.message.attachments[0].read()