<commit_before>module.exports = (guild, user) => {
    client.on("presenceUpdate", (oMember, nMember) => {
        let guild = nMember.guild;
        let playRole = guild.roles.find("name", "Playing Minecraft");
        if(!playRole) return;

        if(nMember.user.presence.game && nMember.user.presence.game.name === "Minecraft") {
            nMember.addRole(playRole);
        } else if(!nMember.user.presence.game && nMember.roles.has(playRole.id)) {
            nMember.removeRole(playRole);
        }
    });
}<commit_msg>Update presenceUpdate.js<commit_after>module.exports = (guild, user) => {
    client.on("presenceUpdate", (oMember, nMember) => {
        let guild = nMember.guild;
        let playRole = guild.roles.find("name", "Playing [GAME]");
        if(!playRole) return;

        if(nMember.user.presence.game && nMember.user.presence.game.name === "[GAME]") {
            nMember.addRole(playRole);
        } else if(!nMember.user.presence.game && nMember.roles.has(playRole.id)) {
            nMember.removeRole(playRole);
        }
    });
}
{'fraction_non_alphanumeric': 0.1643192488262911, 'fraction_numerical': 0.0, 'mean_word_length': 2.76678445229682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5252313', 'n_tokens_mistral': 357, 'n_tokens_neox': 347, 'n_words': 49}