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
@@ -40,7 +40,7 @@ module.exports = class BulbapediaCommand extends Command {
.setColor(0x3E7614)
.setTitle(body.query.pages[0].title)
.setAuthor('Bulbapedia', 'https://i.imgur.com/09eYo5T.png')
.setDescription(body.query.pages[0].extract.substr(0, 2000).replace(/[\n]/g, '\n\n'));
.setDescription(body.query.pages[0].extract.substr(0, 2048).replace(/[\n]/g, '\n\n'));
return msg.embed(embed);
}
};