Add disableEveryone option (#400)

* Added support for new game objects

bot.setStreaming(name, url, type, callback); added
logic for Internal setStatus updated to check if string or object

* Add disableEveryone option

* forgot to compile

oh well, it can be squash merged
This commit is contained in:
Brussell
2016-06-01 23:35:32 -05:00
committed by abal
parent c88feaa554
commit 636a095377
5 changed files with 22 additions and 0 deletions

View File

@@ -49,6 +49,11 @@ rateLimitAsError
Have the lib throw a rejection Promise/callback when being ratelimited, instead of auto-retrying.
disableEveryone
~~~~~~~~~~~~~~~~
Have the lib insert a zero width space between here and everyone mentions disabling them.
shardCount
~~~~~~~~~~
@@ -195,6 +200,7 @@ Sends a message to the specified channel.
- **file** - (Optional) `object`, containing:
- **file** - a `File Resolvable`_
- **name** - (Optional) `String`, filename to upload file as
- **disableEveryone** - (Optional) `Boolean`, disable `here` and `everyone` mentions
- **callback** - `function` that takes the following parameters:
- **error** - error object if any occurred
- **message** - the sent Message_