Longer substr

This commit is contained in:
Daniel Odendahl Jr
2017-08-06 14:56:01 +00:00
parent ec25e6d3d3
commit f7cd98a7eb
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = class WattpadCommand extends Command {
.setAuthor('Wattpad', 'https://i.imgur.com/Rw9vRQB.png')
.setURL(body.stories[0].url)
.setTitle(body.stories[0].title)
.setDescription(body.stories[0].description.substr(0, 2000))
.setDescription(body.stories[0].description.substr(0, 2048))
.setThumbnail(body.stories[0].cover)
.addField(' Created On',
moment(body.stories[0].createDate).format('MMMM Do YYYY'), true)