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):