/*
Creator: AznAceSlayer aka Kevin He
Date of Creation: November 6th, 2016
*/

/**
 * exports.execute  - function(myBot{Discord.Client object}, message{message object})
 * 
 * exports.help     - *DispName     - Name of Command (Data Type: String)
 *                  - *CmdName      - Command Name used to be called (Data Type: String)
 *                  - *Category     - Category of the Command (Data Type: String)
 *                  - *Descript     - Description of the Command (Data Type: String)
 *                  - *Usage        - How to use the Command (Data Type: String) Input Only the Parameters
 *                  - *Parameters   - Any Parameters for the Command to work (Data Type: String) Put them in Parameters, Use "\n" for a new Parameter 🔹
 * 
 * exports.config   - *Aliases      - Aliases of the Command (Data Type: String Array)
 *                  - *Prefix       - Type of Prefix Call for the Command (Data Type: Char)
 *                  - *Cooldown     - Number of seconds for the command to be used again (Data Type: Integer)
 *                  - *Master       - If the command is a Master Command(Which is only for BotAdmins aka Masters) (Data Type: Boolean)
 *                  - *Permission   - The permission level for the command to be executed (Data Type: String)
 *                  - *Enabled      - See if the Command is enabled or disabled (Data Type: Boolean)
 */

exports.execute = function (myBot, message) {
    var strRPS = ":speech_balloon: ";
    var intNumber = Math.floor(Math.random() * 3) + 1;
    if (intNumber === 1) {
        strRPS += "**Rock**";
    } else if (intNumber === 2) {
        strRPS += "**Paper**";
    } else {
        strRPS += "**Scissor**";
    }
    message.channel.sendMessage(strRPS);
};

exports.help = {
    dispName: "Rock Paper Scissor",
    cmdName: "rps",
    category: "Fun",
    descript: "Rock, Paper, Scissor! 33-33-33!!!",
    usage: "",
    parameters: "None"
};

exports.config = {
    aliases: [],
    prefix: "!",
    cooldown: 1,
    master: false,
    permission: "",
    enabled: true
};