.. _cb.onFanclubJoin:

======================
cb.onFanclubJoin(func)
======================

Receive a notification when a registered member joins the room's fan club. The ``func``
argument should be a function that receives 1 argument itself, :ref:`user`.

Example Usage
-------------

.. sourcecode:: javascript

    cb.onFanclubJoin(user => {
        cb.sendNotice(user['user'] + ' has joined my fan club!');
    });

Example Output
--------------

.. sourcecode:: text

    Notice: testuser has joined my fan club!