diff --git a/docs/conf.py b/docs/conf.py index 6f82782a4..0f2bc9bb0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,9 +55,9 @@ author = u'hydrabolt' # built documents. # # The short X.Y version. -version = '3.10' +version = '4.1' # The full version, including alpha/beta/rc tags. -release = '3.10.1' +release = '4.1.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/docs_client.rst b/docs/docs_client.rst index ea0718c88..3adf4da67 100644 --- a/docs/docs_client.rst +++ b/docs/docs_client.rst @@ -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.