2020-04-30 03:32:19 +00:00
|
|
|
const fetch = require('node-fetch');
|
2020-01-25 10:02:43 +00:00
|
|
|
const Discord = require("discord.js")
|
|
|
|
exports.run = (client, message) => {
|
|
|
|
message.channel.startTyping();
|
2020-04-30 03:32:19 +00:00
|
|
|
try{
|
|
|
|
fetch('http://mityurl.com/y/yKsQ/r', { redirect: 'follow' })
|
|
|
|
.then(res => res)
|
|
|
|
.then(res => message.channel.send(`>:] ${res.url}`))
|
|
|
|
} catch(err) {
|
|
|
|
message.channel.send(`<:error:466995152976871434> An error has occurred: ${err}`);
|
|
|
|
};
|
|
|
|
message.channel.stopTyping();
|
2020-01-25 10:02:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
exports.conf = {
|
|
|
|
enabled: true,
|
|
|
|
guildOnly: false,
|
|
|
|
aliases: [],
|
|
|
|
permLevel: "User",
|
|
|
|
requiredPerms: []
|
|
|
|
};
|
|
|
|
|
|
|
|
exports.help = {
|
|
|
|
name: "rip",
|
|
|
|
category: "Fun",
|
|
|
|
description: "nice >:]",
|
|
|
|
usage: "`rip`"
|
|
|
|
};
|