Fix example (#609)

* Fix example

* Build docs
This commit is contained in:
Schuyler Cebulskie
2016-09-04 17:12:31 -04:00
committed by Amish Shah
parent 2c6b804fc9
commit 7a8c8f7453
2 changed files with 3 additions and 4 deletions

View File

@@ -37,8 +37,7 @@ bot.getChannelLogs(channel, 100, function(messages) {
```
```js
msg.channel.getMessages({limit: 100})
.then(messages => {
console.log(`${messages.length} messages found`);
msg.channel.fetchMessages({limit: 100}).then(messages => {
console.log(`${messages.size} messages found`);
});
```

File diff suppressed because one or more lines are too long