Skip to content

Commit

Permalink
mention total number of rows in message
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi committed Nov 30, 2024
1 parent 94e3f72 commit 3b90c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uqcsbot/advent.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def make_message_arguments(self) -> Dict[str, Any]:
if self.day:
notes.append(f"sorted by {self.sortby}")
if self.is_truncated:
notes.append(f"top {len(self.visible_members)} shown")
notes.append(f"top {len(self.visible_members)} shown out of {len(self.all_members)}")
body = f"({', '.join(notes)})" if notes else ""

basename = f"advent_{self.code}_{self.year}_{self.day}"
Expand Down

0 comments on commit 3b90c45

Please sign in to comment.