forked from embee/woomy
30 lines
750 B
JavaScript
30 lines
750 B
JavaScript
const API = require('nekos.life');
|
|
const {sfw} = new API();
|
|
exports.run = async (client, message) => {
|
|
message.channel.startTyping();
|
|
try {
|
|
sfw.kemonomimi().then((json) => {
|
|
message.channel.send(json.url)
|
|
message.channel.stopTyping();
|
|
});
|
|
} catch (err) {
|
|
client.logger.error("kemonomimi.js: " + err);
|
|
message.channel.send(`<:error:466995152976871434> An error has occurred: ${err}`)
|
|
message.channel.stopTyping();
|
|
};
|
|
};
|
|
|
|
exports.conf = {
|
|
enabled: false,
|
|
guildOnly: false,
|
|
aliases: [],
|
|
permLevel: "User",
|
|
requiredPerms: ["EMBED_LINKS"]
|
|
};
|
|
|
|
exports.help = {
|
|
name: "kemonomimi",
|
|
category: "Image",
|
|
description: "Sends you pictures of people with animal characteristics.",
|
|
usage: "kemonomimi"
|
|
};
|