More documentation and updated some PM Channel code

The PM Channel will now also trunc messages and cap the array size
This commit is contained in:
hydrabolt
2015-09-30 18:23:21 +01:00
parent d50d8907d0
commit e7adc3ddbf
5 changed files with 49 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ Gets a Message_ from the channel that matches the specified criteria. E.g:
.. code-block:: js
channel.getMessage("id", 1243987349) // returns a Channel where message.id === 1243987349
channel.getMessage("id", 1243987349) // returns a Message where message.id === 1243987349
- **key** - a `String` that is the key
- **value** - a `String` that is the value