Updated getLogs docs to be valid for 4.1.0

This commit is contained in:
hydrabolt
2015-10-29 18:41:04 +00:00
parent c2e181f5bb
commit 2d2e2eba22
2 changed files with 8 additions and 3 deletions

View File

@@ -250,13 +250,18 @@ Deletes the specified channel.
- **error** - An error if one occurred, otherwise it is null.
getChannelLogs(channel, `amount`, `callback`)
getChannelLogs(channel, `amount`, `options`, `callback`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gets previous messages from the specified channel.
- **channel** - A `Channel Resolvable`_ to take logs from.
- **amount** - A `Number` that defaults to **500**. This is the amount of messages to try and get.
- **options** - An `Object` containing the following values:
- **before** - A Message_ (or String ID) which will make the function return messages before this message.
- **after** - A Message_ (or String ID) which will make the function return messages after this message.
- **callback** - A `function` that can take the following parameters:
- **error** - An error if one occurred, otherwise it is null.