From 95d6cc17b5b8164c425a512958cb820dfb6b9d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 12 Oct 2024 21:14:22 +0200 Subject: [PATCH] Add embed and file size limit --- lib/HahaCommands/download.ex | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/lib/HahaCommands/download.ex b/lib/HahaCommands/download.ex index 0459b4b..731c301 100644 --- a/lib/HahaCommands/download.ex +++ b/lib/HahaCommands/download.ex @@ -2,7 +2,7 @@ defmodule HahaYes.Commands.Download do @moduledoc """ Download command """ - + import Nostrum.Struct.Embed alias Nostrum.Api @doc """ @@ -23,14 +23,34 @@ defmodule HahaYes.Commands.Download do Bot: