mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
deleteMessages docs, fixes
This commit is contained in:
@@ -251,12 +251,21 @@ deleteMessage(message, `options`, `callback`)
|
||||
|
||||
Attempts to delete a message
|
||||
|
||||
- **message** - The Message_ to delete
|
||||
- **message** - The `Message Resolvable`_ to delete
|
||||
- **options** - `object` containing the following:
|
||||
- **wait** - Milliseconds as a `number` to wait before deleting the message
|
||||
- **callback** - `function` that takes the following parameters:
|
||||
- **error** - error object if any occurred
|
||||
|
||||
deleteMessages(messages, `options`, `callback`)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Attempts to bulk delete messages from the same channel
|
||||
|
||||
- **message** - Array of `Message Resolvable`_ to delete
|
||||
- **callback** - `function` that takes the following parameters:
|
||||
- **error** - error object if any occurred
|
||||
|
||||
getChannelLogs(channel, `limit`, `options`, `callback`)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user