fix... that?

This commit is contained in:
nexy7574 2023-12-05 21:19:17 +00:00
parent 71e7637705
commit f003e5bd4c

View file

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