discord_bot/commands/fun/pat.js

23 lines
615 B
JavaScript

const discord = require("discord.js");
const { Random } = require("something-random-on-discord");
const random = new Random();
module.exports = {
name: "pat",
category: "fun",
description: "Jemanden streicheln",
run: async (client, message, args) => {
let target = message.mentions.members.first()
let data = await random.getAnimeImgURL("streicheln");
let embed = new discord.MessageEmbed()
.setImage(data)
.setColor("RANDOM")
.setFooter(`${message.author.username} streichelt ${target.user.username}`)
.setTimestamp()
message.channel.send(embed);
}
};