fixed wierd indent
This commit is contained in:
parent
0a1474887d
commit
4c3e1a5125
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ class RedditCommand extends Command {
|
||||||
}
|
}
|
||||||
if (response.data.children[i].data.over_18 == true)
|
if (response.data.children[i].data.over_18 == true)
|
||||||
return message.channel.send('No nsfw');
|
return message.channel.send('No nsfw');
|
||||||
const redditEmbed = new MessageEmbed() .setColor('#ff9900')
|
const redditEmbed = new MessageEmbed()
|
||||||
|
.setColor('#ff9900')
|
||||||
.setTitle(response.data.children[i].data.title)
|
.setTitle(response.data.children[i].data.title)
|
||||||
.setImage(response.data.children[i].data.url)
|
.setImage(response.data.children[i].data.url)
|
||||||
.setURL('https://reddit.com' + response.data.children[i].data.permalink)
|
.setURL('https://reddit.com' + response.data.children[i].data.permalink)
|
||||||
|
|
Loading…
Reference in a new issue