{"size": 376, "ext": "js", "max_stars_repo_path": "results/4_extract-code/code/plugapi/plugapi_14.js", "max_stars_repo_name": "proglang/dts-generate-results", "max_stars_repo_stars_event_min_datetime": "2021-04-21T16:38:38.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-17T15:20:30.000Z", "max_issues_repo_path": "results/4_extract-code/code/plugapi/plugapi_14.js", "max_issues_repo_name": "proglang/dts-generate-results", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "results/4_extract-code/code/plugapi/plugapi_14.js", "max_forks_repo_name": "proglang/dts-generate-results", "max_forks_repo_forks_event_min_datetime": "2019-10-31T18:45:26.000Z", "max_forks_repo_forks_event_max_datetime": "2019-10-31T18:45:26.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 22.1176470588, "max_line_length": 66, "alphanum_fraction": 0.5132978723}
const PlugAPI = require('plugapi');

new PlugAPI({
    email: '',
    password: ''
}, (err, bot) => {
    if (!err) {
        bot.connect('roomslug'); // The part after https://plug.dj

        bot.on(PlugAPI.events.ROOM_JOIN, (room) => {
            console.log(`Joined ${room}`);
        });
    } else {
        console.log(`Error initializing plugAPI: ${err}`);
    }
});
