aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/christmas/adventofcode.py
diff options
context:
space:
mode:
authorGravatar Chris G <[email protected]>2019-09-10 22:34:30 -0600
committerGravatar GitHub <[email protected]>2019-09-10 22:34:30 -0600
commit8347c9ea91b5ec05cd57ddf6d40e88c9bac8ddd5 (patch)
tree82d0f8647b9fbb38e4462e0e26471da1124d506e /bot/seasons/christmas/adventofcode.py
parentUpdate contrib doc for allowing edits from maintainers (#268) (diff)
parentUpdate bot/seasons/evergreen/snakes/utils.py (diff)
Merge pull request #269 from python-discord/hacktoberfest-update
Hacktoberfest update & SaL Fix
Diffstat (limited to 'bot/seasons/christmas/adventofcode.py')
-rw-r--r--bot/seasons/christmas/adventofcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/christmas/adventofcode.py b/bot/seasons/christmas/adventofcode.py
index a9e72805..d2894ec4 100644
--- a/bot/seasons/christmas/adventofcode.py
+++ b/bot/seasons/christmas/adventofcode.py
@@ -359,7 +359,7 @@ class AdventOfCode(commands.Cog):
)
async def _check_n_entries(self, ctx: commands.Context, number_of_people_to_display: int) -> int:
- """Check for n > max_entries and n <= 0"""
+ """Check for n > max_entries and n <= 0."""
max_entries = AocConfig.leaderboard_max_displayed_members
author = ctx.message.author
if not 0 <= number_of_people_to_display <= max_entries: