Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require('discord.js');
- const superagent = require('superagent');
- exports.run = async (bot, message, args) => {
- const {body} = await superagent
- .get(`https://nekos.life/api/v2/img/woof`);
- var embed = new Discord.RichEmbed()
- .setImage(body.url)
- .setColor("36393e")
- .setTimestamp(new Date())
- message.channel.send(embed);
- }
- exports.help = {
- name: "au"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement