{"size": 324, "ext": "js", "max_stars_repo_path": "src/ws/handlers/GUILD_CREATE.js", "max_stars_repo_name": "ZyphenSVC/SethJS", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/ws/handlers/GUILD_CREATE.js", "max_issues_repo_name": "ZyphenSVC/SethJS", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/ws/handlers/GUILD_CREATE.js", "max_forks_repo_name": "ZyphenSVC/SethJS", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 32.4, "max_line_length": 75, "alphanum_fraction": 0.6265432099}
module.exports = class GUILD_CREATE {
    constructor(client, payload) {
        for(const channel of payload.d.channels) {
            client.channels.add(channel, channel.id);
        }
        client.guild.add(payload.d, payload.d.id);
        client.emit("guildCreate", client, client.guild.get(payload.d.id));
    }
};
