1
0
Fork 0

removed useless thing

Commando
loicbersier 6 years ago
parent 500908134c
commit a0147fd6a8

@ -26,9 +26,7 @@ module.exports = class RandoCatCommand extends Command {
while (body.data.children[i].data.post_hint !== 'image') { while (body.data.children[i].data.post_hint !== 'image') {
i = Math.floor((Math.random() * 10) + 1); i = Math.floor((Math.random() * 10) + 1);
} }
if (body.data.children[i].data.crosspost_parent_list == true) { if (body.data.children[i].data.over_18 == true) {
return message.say('test')
}else if (body.data.children[i].data.over_18 == true) {
return message.say("No nsfw") return message.say("No nsfw")
} }
const dogEmbed = new Discord.RichEmbed() const dogEmbed = new Discord.RichEmbed()

Loading…
Cancel
Save