{"size": 1023, "ext": "js", "max_stars_repo_path": "command/poke.js", "max_stars_repo_name": "Bartholomeouw/Reactions", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "command/poke.js", "max_issues_repo_name": "Bartholomeouw/Reactions", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "command/poke.js", "max_forks_repo_name": "Bartholomeouw/Reactions", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 36.5357142857, "max_line_length": 93, "alphanum_fraction": 0.5307917889}
const Discord = require("discord.js");
const superagent = require("snekfetch");


        module.exports = {
            name: "poke",
            category: "fun",
          description: "Allows you to poke a user",
          usage: "[command | user]",
          run: async (client, message, args) => {
          //command
          const user = message.mentions.users.first();
          if(!user)
              return message.reply('Mention someone to poke!');

          superagent.get('https://nekos.life/api/v2/img/poke')
              .end((err, response) => {
            const lewdembed = new Discord.RichEmbed()
            .setTitle(user.username + " just got poked by " + message.author.username)
            .setImage(response.body.url)
            .setColor("#ff8ff0")
            .setDescription((user.toString() + " got poked by " + message.author.toString()))
            .setFooter(`rip`)
            .setURL(response.body.url);
        message.channel.send(lewdembed);
          })
          }
          };