def _handle_chat_name ( self , data ) : self . room . user . nick = data self . conn . enqueue_data ( "user" , self . room . user )
discord python user name change event
Handle user name changes
def _handle_chat_name(self, data):
        """Handle user name changes"""

        self.room.user.nick = data
        self.conn.enqueue_data("user", self.room.user)