Added an extra sort option for 'gilded'

Implemented 'gilded' sort both in the banner bar (by pushing the '6' key), and in the prompt (by entering '/subreddit/gilded')
This commit is contained in:
Edridge D'Souza
2018-07-16 16:22:19 -04:00
parent 71b86505fb
commit b2d3439faa
10 changed files with 41 additions and 5 deletions

View File

@@ -1579,6 +1579,7 @@ class Subreddit(Messageable, Refreshable):
get_hot = _get_sorter('')
get_new = _get_sorter('new')
get_top = _get_sorter('top')
get_gilded = _get_sorter('gilded')
# Explicit listing selectors
get_controversial_from_all = _get_sorter('controversial', t='all')