mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
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:
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user