24 lines
593 B
JavaScript
24 lines
593 B
JavaScript
|
const superagent = require("snekfetch");
|
||
|
const Discord = require('discord.js')
|
||
|
|
||
|
|
||
|
|
||
|
module.exports = {
|
||
|
name: "dog",
|
||
|
category: "fun",
|
||
|
description: "Sendet ein zufälliges Hundebild",
|
||
|
usage: "[command]",
|
||
|
run: async (client, message, args) => {
|
||
|
//command
|
||
|
superagent.get('https://nekos.life/api/v2/img/woof')
|
||
|
.end((err, response) => {
|
||
|
const lewdembed = new Discord.MessageEmbed()
|
||
|
.setTitle("<a:dog1:730389376210829344>")
|
||
|
.setImage(response.body.url)
|
||
|
.setColor(`#000000`)
|
||
|
.setFooter(`🤣WAS FÜR EIN HUND🤣`)
|
||
|
.setURL(response.body.url);
|
||
|
message.channel.send(lewdembed);
|
||
|
})
|
||
|
}
|
||
|
};
|