removed useless thing
This commit is contained in:
parent
500908134c
commit
a0147fd6a8
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue