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

    var user = client.funcs.userSearch(client, message, user);
    
    if (user.username === null) { return; }
    if (user.bot === true) { return message.reply("You can't give your credits to a bot user!"); }

    db.get(`SELECT * FROM scores WHERE userId = "${user.id}"`, [], (err, row) => {
        if (err) { return console.log(err); }
        if (!row) { return message.reply("That user has not gotten their first daily yet!"); }
        if (!credit || credit < 1) { return message.reply("You can't just give an invisable amount of credits to someone!"); }
        else { 
            db.run(`UPDATE scores SET credits = ${parseInt(row.credits) + parseInt(credit)} WHERE userId = ${user.id}`); 
            db.get("SELECT * FROM awards WHERE userID = 'Overall'", [], (err, row) => {
                if (err) { return console.log(err); }
                if (credit == "150") { 
                    db.run(`UPDATE awards SET suggest = ${parseInt(row.suggest) + 1} WHERE userId = "Overall"`);
                } if (credit == "250") {
                    db.run(`UPDATE awards SET bugs = ${parseInt(row.bugs) + 1} WHERE userId = "Overall"`);
                } if (credit == "500") {
                    db.run(`UPDATE awards SET minor = ${parseInt(row.minor) + 1} WHERE userId = "Overall"`);
                } if (credit == "1000") {
                    db.run(`UPDATE awards SET major = ${parseInt(row.major) + 1} WHERE userId = "Overall"`);
                }
            });
            db.get(`SELECT * FROM awards WHERE userID = "${user.id}"`, [], (err, row) => {
                if (err) { return console.log(err); }
                if (!row) { console.log(`No row for ${user.id}. Please manually add with the given amount ${credit}.`); }
                if (credit == "150") { 
                    db.run(`UPDATE awards SET suggest = ${parseInt(row.suggest) + 1} WHERE userId = "${user.id}"`); 
                } if (credit == "250") {
                    db.run(`UPDATE awards SET bugs = ${parseInt(row.bugs) + 1} WHERE userId = "${user.id}"`); 
                } if (credit == "500") {
                    db.run(`UPDATE awards SET minor = ${parseInt(row.minor) + 1} WHERE userId = "${user.id}"`); 
                } if (credit == "1000") {
                    db.run(`UPDATE awards SET major = ${parseInt(row.major) + 1} WHERE userId = "${user.id}"`); 
                }
            });
        }
    });

    const embed = new client.methods.Embed()
        .setColor("#04d5fd")
        .setTimestamp()
        .setTitle(`Award Notification!`)
        .addField(`User: ${user.tag}`, `For the reason of: ${text}`)
        .addField("Award:", `${credit} credits`)
        .setThumbnail(user.avatarURL());

    message.reply(`<@${user.id}> (${user.id}) have been awarded ${credit} credits!`);
    client.channels.get("364846541455753218").send({embed});
};

exports.conf = {
    enabled: true,
    runIn: ["text"],
    aliases: [],
    permLevel: 10,
    botPerms: [],
    requiredFuncs: [],
};
  
exports.help = {
    name: "award",
    description: "Awards a user for finding an issue with Margarine.",
    usage: "[user:str] [credit:int] [text:str]",
    usageDelim: " | ",
};

@@ -1035,32 +1035,33 @@
    if (credit ==
+=
  %22150%22) %7B %0A     
@@ -1047,32 +1047,32 @@
 t === %22150%22) %7B %0A
-
                 
@@ -1191,32 +1191,33 @@
  %7D if (credit ==
+=
  %22250%22) %7B%0A      
@@ -1340,32 +1340,33 @@
  %7D if (credit ==
+=
  %22500%22) %7B%0A      
@@ -1491,32 +1491,33 @@
  %7D if (credit ==
+=
  %221000%22) %7B%0A     
@@ -1950,16 +1950,17 @@
 redit ==
+=
  %22150%22) 
@@ -2110,16 +2110,17 @@
 redit ==
+=
  %22250%22) 
@@ -2263,16 +2263,17 @@
 redit ==
+=
  %22500%22) 
@@ -2418,16 +2418,17 @@
 redit ==
+=
  %221000%22)
@@ -2712,17 +2712,17 @@
 etTitle(
-%60
+%22
 Award No
@@ -2732,17 +2732,17 @@
 ication!
-%60
+%22
 )%0A      

Update award.js