Fix quote listing not being finalized
This commit is contained in:
2
bot.py
2
bot.py
@@ -839,7 +839,7 @@ async def quote_list_slash(ctx: SlashContext, author: Optional[str] = None):
|
|||||||
for author, author_quotes in quotes.items():
|
for author, author_quotes in quotes.items():
|
||||||
coroutines.append(ctx.channel.send(embed=create_list_embed(author, author_quotes)))
|
coroutines.append(ctx.channel.send(embed=create_list_embed(author, author_quotes)))
|
||||||
await asyncio.gather(*coroutines)
|
await asyncio.gather(*coroutines)
|
||||||
await ctx.send(content="")
|
await ctx.send(content="That was all.")
|
||||||
else:
|
else:
|
||||||
author = author.strip().title()
|
author = author.strip().title()
|
||||||
if author in quotes:
|
if author in quotes:
|
||||||
|
|||||||
Reference in New Issue
Block a user