def subscribe_to_quorum_channel ( self ) : from dallinger . experiment_server . sockets import chat_backend self . log ( "Bot subscribing to quorum channel." ) chat_backend . subscribe ( self , "quorum" )
macro for discord to change presence python
In case the experiment enforces a quorum listen for notifications before creating Partipant objects .
def subscribe_to_quorum_channel(self):
        """In case the experiment enforces a quorum, listen for notifications
        before creating Partipant objects.
        """
        from dallinger.experiment_server.sockets import chat_backend

        self.log("Bot subscribing to quorum channel.")
        chat_backend.subscribe(self, "quorum")