module.exports = function(skill, info, bot, message, db) {
    var userData = message.text.match(/\<(.*?)\>/g);
    console.log('messaage text: ' + message.text);
    console.log('userdata' + userData);
  if (userData) {
    // if there is a user is mentioned initiate the challenge!
    //for (var i = 0, len = userData.length; i < len; i++) {
        //FU(userData[i].replace(/[^\w\s]/gi, ''));
        //console.log('userdata[i]' + userData[i]);
        //console.log('userdata[i]' + userData[i].replace(/[^\w\s]/gi, ''));
    //}  
    console.log(userData[0].replace(/[^\w\s]/gi, ''));
    var challenger = 'challenger';    
    var challenged = 'challenged';
    bot.api.users.info({user: message.user}, (error, response) => {
    //console.log('response name: ' + response.user.real_name);
    //console.log('Slackname: ' + response.user.real_name.toString());
    challenger = response.user.real_name.toString();
    });
    bot.api.users.info({user: userData[0].replace(/[^\w\s]/gi, '')}, (error, response) => {
    //console.log('response name: ' + response.user.real_name);
    //console.log('Slackname: ' + response.user.real_name.toString());
    challenged = response.user.real_name.toString();
    });  
    
    
    //var challenger = new getSlackName(message.user);//.replace(/[^\w\s]/gi, ''));
    //var challenged = new getSlackName(userData[0].replace(/[^\w\s]/gi, ''));
    console.log(challenger);
    console.log(challenged);
    bot.reply(message, challenger + ' has challenged ' + challenged); 

    
    //bot.reply(message,'Let\'s rumble' + userData[0].replace(/[^\w\s]/gi, ''));
  } else {//if no user challenged
    bot.reply(message, 'You didn\'t challenge anyone you chicken shit! :chicken: :poop:');
  }

function getSlackName(userID) {
    var slackName
    bot.api.users.info({user: userID}, (error, response) => {
    console.log('response name: ' + response.user.real_name);
    console.log('Slackname: ' + response.user.real_name.toString());
    slackName = response.user.real_name.toString();
    })
    return slackName;
}

function FU(user) {
    //DM some shade!
    bot.api.im.open({ user: user }, function (err, response) {
      if (err) {
        return console.log(err)
      }
    var fuckArray = [
    'https://giphy.com/gifs/cheezburger-olympics-U7P2vnWfPkIQ8',
    'https://giphy.com/gifs/louis-ck-middle-finger-fuck-you-Qd71uU3LzyxXO'
    ];
    var randomFuck = Math.floor(Math.random()* fuckArray.length);    

    var dmChannel = response.channel.id
    bot.say({channel: dmChannel, text: 'Someone is throwing shade your way... :middle_finger:'})
    bot.say({channel: dmChannel, text: fuckArray[randomFuck]})
    })    
    
    
}
    

  
  
  var gameEngine = require('./Rock-Paper-Spock');
  
    //bot.api.users.info({user: message.user}, (error, response) => {
        //bot.reply(message, 'Rock Paper Scissors (lizard, spock, spiderman, batman, wizard, glock?)');
    //})  

  var instance = new gameEngine(gameEngine.DefaultRules);
  instance.addPlayer({id: 1, sign: "spock"});
  instance.addPlayer({id: 2, sign: "rock"});
  instance.addPlayer({id: 3, sign: "spock"});
  instance.addPlayer(4, "rock").addPlayer(5, "paper");
  instance.play();
  console.log(instance.winner);
  //note players that won-lost, add support for W-L records
  //bot.reply(message, 'test successful. maybe code something more useful next time?');
};

@@ -658,24 +658,26 @@
 enged';%0A    
+//
 bot.api.user
@@ -720,32 +720,32 @@
  response) =%3E %7B%0A
-
     //console.lo
@@ -859,32 +859,34 @@
 oString());%0A    
+//
 challenger = res
@@ -922,16 +922,18 @@
 ();%0A    
+//
 %7D);%0A    
@@ -1215,18 +1215,220 @@
 %0A    %7D);
-  
+%0A    %0A    bot.api.users.info(%7Buser: message.user%7D, function(err, res) %7B%0A        if (err) %7B%0A            bot.botkit.log(':(', err);%0A        %7D%0A        challenger = response.user.real_name.toString();%0A    %7D);
 %0A    %0A  

Update RockPaperScissors.js