amsync/obj.py
async def staff(com=None) -> Dict[list[Dict[str, str]]]:
        """
        Returns a dictionary containing community leaders and curators
        """

        if not (com := com or actual_com):
            raise EmptyCom('Enter a com or send a message in a chat')

        leaders  = [{'nickname': i['nickname'], 'uid': i['uid']} for i in (await _req('get', f'x{com}/s/user-profile?type=leaders&start=0&size=100')).json['userProfileList']]
        curators = [{'nickname': i['nickname'], 'uid': i['uid']} for i in (await _req('get', f'x{com}/s/user-profile?type=curators&start=0&size=100')).json['userProfileList']]
        return {'leaders': leaders, 'curators': curators}

        Returns a dictionary containing community leaders and curators
        
Returns a dictionary containing community leaders and curators
Returns a dictionary containing community leaders and curators
async def staff(com=None) -> Dict[list[Dict[str, str]]]:
        if not (com := com or actual_com):
            raise EmptyCom('Enter a com or send a message in a chat')
        leaders  = [{'nickname': i['nickname'], 'uid': i['uid']} for i in (await _req('get', f'x{com}/s/user-profile?type=leaders&start=0&size=100')).json['userProfileList']]
        curators = [{'nickname': i['nickname'], 'uid': i['uid']} for i in (await _req('get', f'x{com}/s/user-profile?type=curators&start=0&size=100')).json['userProfileList']]
        return {'leaders': leaders, 'curators': curators}
async def staff ( com = None ) -> Dict [ list [ Dict [ str , str ] ] ] : if not ( com := com or actual_com ) : raise EmptyCom ( 'Enter a com or send a message in a chat' ) leaders = [ { 'nickname' : i [ 'nickname' ] , 'uid' : i [ 'uid' ] } for i in ( await _req ( 'get' , f'x{com}/s/user-profile?type=leaders&start=0&size=100' ) ) . json [ 'userProfileList' ] ] curators = [ { 'nickname' : i [ 'nickname' ] , 'uid' : i [ 'uid' ] } for i in ( await _req ( 'get' , f'x{com}/s/user-profile?type=curators&start=0&size=100' ) ) . json [ 'userProfileList' ] ] return { 'leaders' : leaders , 'curators' : curators }
Returns a dictionary containing community leaders and curators
Returns a dictionary containing community leaders and curators
"""
        Returns a dictionary containing community leaders and curators
        """
com