Archived
Dateien nach "commands/fun" hochladen
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
})
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user