'subreddits that appear in a user\'s listings. If the user has
subscribed, returns the stored set of subscriptions.
limit - if it\'s Subreddit.DEFAULT_LIMIT, limits to 50 subs
(100 for gold users)
if it\'s None, no limit is used
if it\'s an integer, then that many subs will be returned
Otherwise, return the default set.'

@classmethod
def user_subreddits(cls, user, ids=True, limit=DEFAULT_LIMIT):

    if (limit is Subreddit.DEFAULT_LIMIT):
        if (user and user.gold):
            limit = Subreddit.gold_limit
        else:
            limit = Subreddit.sr_limit
    if (user and user.has_subscribed):
        sr_ids = Subreddit.subscribed_ids_by_user(user)
        sr_ids = cls.random_reddits(user.name, sr_ids, limit)
        return (sr_ids if ids else Subreddit._byID(sr_ids, data=True, return_dict=False, stale=True))
    else:
        return cls.default_subreddits(ids=ids)
