discord_bot/commands/fun/dog.js

24 lines
593 B
JavaScript
Raw Permalink Normal View History

2024-02-07 14:45:22 +00:00
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);
})
}
};