exports.run = async (client, message, [member]) => {
    const sqlite3 = require("sqlite3").verbose();
    let db = new sqlite3.Database("./bwd/data/score.sqlite");

    var user = client.funcs.userSearch(client, message, member);
    
    if (user.username === null) { return; }
    if (user.bot === true) { return message.channel.send("You can't give reputation to a bot user!"); }
    if (user.id === message.author.id) { return message.channel.send("You can't give reputation to yourself! That's like saying hire me for your nuclear plant because I'm a high school student!"); }

    db.get(`SELECT * FROM scores WHERE userId = "${message.author.id}"`, [], (err, row) => {
        if (err) { console.log(err); }
        if (!row) { return message.reply("You have not redeemed your first daily yet!"); }
        if ((parseInt(row.repDaily) + 86400000) > Date.now()) { return message.reply("You've already have given someone else rep today!"); }
        else { 
            db.get(`SELECT * FROM scores WHERE userId = "${user.id}"`, [], (err, row) => {
                if (err) { console.log(err); }
                if (!row) { return message.channel.send("That user has not gotten their first daily to start off with so you can not give them any rep at the moment. :cry:"); } 
                else {
                    db.run(`UPDATE scores SET rep = ${row.rep + 1} WHERE userId = ${user.id}`);
                    db.run(`UPDATE scores SET repDaily = ${Date.now()} WHERE userId = ${message.author.id}`); 
                    return message.channel.send(`You have given <@${user.id}> a reputation point!`);
                }
            });
        }
    });
};

exports.conf = {
    enabled: true,
    runIn: ["text"],
    aliases: [],
    permLevel: 0,
    botPerms: [],
    requiredFuncs: [],
};
  
exports.help = {
    name: "rep",
    description: "Give someone a reputation point!",
    usage: "[member:str]",
    usageDelim: "",
};

@@ -259,12 +259,17 @@
 === 
-null
+undefined
 ) %7B 

Update rep.js