Skip to content

Commit

Permalink
fix: qall formats quote with context correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dlg1206 committed Apr 25, 2024
1 parent 1221b42 commit 6228751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quotebot/bot/QuoteBot.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async def qall(ctx, *, quotee=None) -> None:
return

# Format and display all quotes
only_quotes = [f'> - "{q.quote}"' for q in quotes]
only_quotes = [f'> - {q}' for q in quotes]
self.logger.log(str(ctx.message.author), "!qall", Status.SUCCESS, f"Found {len(quotes)} for {quotee}")
await ctx.channel.send(f"{'\n'.join(only_quotes)}\n"
f"**{format_quotee(quotee)} has {len(quotes)} quotes!**")
Expand Down

0 comments on commit 6228751

Please sign in to comment.