From f003e5bd4c2885bf4655745ebedf8f72c7d13d68 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Tue, 5 Dec 2023 21:19:17 +0000 Subject: [PATCH] fix... that? --- cogs/other.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/other.py b/cogs/other.py index d70e28a..07fca77 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -2371,7 +2371,8 @@ class OtherCog(commands.Cog): if file: await ctx.respond(file=file) else: - await ctx.respond(paginator.pages[0], file=file) + kwargs = {"file": file} if file else {} + await ctx.respond(paginator.pages[0], **kwargs) def setup(bot):