Skip to content

Commit

Permalink
Added option '-n' to the 'deck' command in a room. Most people don't …
Browse files Browse the repository at this point in the history
…want to be spammed by 150 public decks before seeing their own list.
  • Loading branch information
thyhellcat committed Jun 18, 2020
1 parent d495fbf commit 43a928c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ygo/parsers/room_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ def deck(caller):
pl.deck_editor.list_public_decks()
pl.deck_editor.list_decks([])
return
if caller.args[0] == "-n":
pl.deck_editor.list_decks([])
return

name = caller.args[0]

Expand Down

0 comments on commit 43a928c

Please sign in to comment.