From 952b6144621bf079411f6ab5a3fd8a98eaa174cf Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Fri, 19 Apr 2024 16:31:52 +0100 Subject: [PATCH] fix video embed dl --- cogs/other.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/other.py b/cogs/other.py index bcda95a..8ef31dd 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -780,7 +780,7 @@ class OtherCog(commands.Cog): else: for embed in message.embeds: if embed.type == "video" and embed.video.url.endswith(("mp4", "webm")): - _ft = embed.video.split(".")[-1] + _ft = embed.video.url.split(".")[-1] attachment = FakeAttachment(embed.video.proxy_url, embed.video.url) break else: