Bug fix for gameslist to handle default of 20.
Showing
2 changed files
with
1 additions
and
1 deletions
... | @@ -345,7 +345,7 @@ Stuff: | ... | @@ -345,7 +345,7 @@ Stuff: |
345 | else: | 345 | else: |
346 | parts = message.content.split(' ') | 346 | parts = message.content.split(' ') |
347 | limit = 20 | 347 | limit = 20 |
348 | if parts[1].isdigit(): | 348 | if len(parts) > 1 and parts[1].isdigit(): |
349 | limit = int(parts[1]) | 349 | limit = int(parts[1]) |
350 | 350 | ||
351 | game_list = [] | 351 | game_list = [] | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment