mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build for branch master: 3da95d7e68
This commit is contained in:
parent
13c650965b
commit
cd53a70886
1 changed files with 5 additions and 8 deletions
|
|
@ -5860,7 +5860,7 @@ class Guild {
|
|||
|
||||
/**
|
||||
* Fetch all webhooks for the guild.
|
||||
* @returns {Collection<Snowflake, Webhook>}
|
||||
* @returns {Promise<Collection<Snowflake, Webhook>>}
|
||||
*/
|
||||
fetchWebhooks() {
|
||||
return this.client.api.guilds[this.id].webhooks.get().then(data => {
|
||||
|
|
@ -5872,7 +5872,7 @@ class Guild {
|
|||
|
||||
/**
|
||||
* Fetch available voice regions.
|
||||
* @returns {Collection<string, VoiceRegion>}
|
||||
* @returns {Promise<Collection<string, VoiceRegion>>}
|
||||
*/
|
||||
fetchVoiceRegions() {
|
||||
return this.client.api.guilds[this.id].regions.get().then(res => {
|
||||
|
|
@ -5993,8 +5993,6 @@ class Guild {
|
|||
* <warn>This is only available when using a user account.</warn>
|
||||
* @param {MessageSearchOptions} [options={}] Options to pass to the search
|
||||
* @returns {Promise<MessageSearchResult>}
|
||||
* An array containing arrays of messages. Each inner array is a search context cluster.
|
||||
* The message which has triggered the result will have the `hit` property set to `true`.
|
||||
* @example
|
||||
* guild.search({
|
||||
* content: 'discord.js',
|
||||
|
|
@ -8173,8 +8171,6 @@ class TextBasedChannel {
|
|||
* <warn>This is only available when using a user account.</warn>
|
||||
* @param {MessageSearchOptions} [options={}] Options to pass to the search
|
||||
* @returns {Promise<MessageSearchResult>}
|
||||
* An array containing arrays of messages. Each inner array is a search context cluster
|
||||
* The message which has triggered the result will have the `hit` property set to `true`
|
||||
* @example
|
||||
* channel.search({
|
||||
* content: 'discord.js',
|
||||
|
|
@ -26588,8 +26584,9 @@ const { TypeError } = __webpack_require__(5);
|
|||
|
||||
/**
|
||||
* @typedef {Object} MessageSearchResult
|
||||
* @type {number} total Total result count
|
||||
* @type {Array<Message[]>} results Array of message results
|
||||
* @property {number} total Total result count
|
||||
* @property {Array<Message[]>} results Array of message results
|
||||
* The message which has triggered the result will have the `hit` property set to `true`
|
||||
*/
|
||||
|
||||
module.exports = function search(target, options) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue