mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +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:
|
if file:
|
||||||
await ctx.respond(file=file)
|
await ctx.respond(file=file)
|
||||||
else:
|
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):
|
def setup(bot):
|
||||||
|
|
Loading…
Reference in a new issue