def init_messenger(): """ docstring""" messenger_ = Messenger() messenger_.connect_to_server() Scope.get_instance().set_messenger(messenger_) return messenger_