mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
fix... that?
This commit is contained in:
parent
71e7637705
commit
f003e5bd4c
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue