mirror of
https://github.com/danbulant/discord.js
synced 2026-06-24 17:21:59 +00:00
Webpack build for branch master: 18389c7659
This commit is contained in:
parent
80aff770ee
commit
ecbfa86120
1 changed files with 10 additions and 5 deletions
|
|
@ -8648,7 +8648,7 @@ class Guild extends Base {
|
||||||
* The URL to this guild's icon.
|
* The URL to this guild's icon.
|
||||||
* @param {Object} [options={}] Options for the icon url
|
* @param {Object} [options={}] Options for the icon url
|
||||||
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
||||||
* @param {number} [options.size=128] One of `128`, '256', `512`, `1024`, `2048`
|
* @param {number} [options.size=128] One of `128`, `256`, `512`, `1024`, `2048`
|
||||||
* @returns {?string}
|
* @returns {?string}
|
||||||
*/
|
*/
|
||||||
iconURL({ format, size } = {}) {
|
iconURL({ format, size } = {}) {
|
||||||
|
|
@ -8669,7 +8669,7 @@ class Guild extends Base {
|
||||||
* The URL to this guild's splash.
|
* The URL to this guild's splash.
|
||||||
* @param {Object} [options={}] Options for the splash url
|
* @param {Object} [options={}] Options for the splash url
|
||||||
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
||||||
* @param {number} [options.size=128] One of `128`, '256', `512`, `1024`, `2048`
|
* @param {number} [options.size=128] One of `128`, `256`, `512`, `1024`, `2048`
|
||||||
* @returns {?string}
|
* @returns {?string}
|
||||||
*/
|
*/
|
||||||
splashURL({ format, size } = {}) {
|
splashURL({ format, size } = {}) {
|
||||||
|
|
@ -9075,6 +9075,11 @@ class Guild extends Base {
|
||||||
* @param {ChannelResolvable} systemChannel The new system channel
|
* @param {ChannelResolvable} systemChannel The new system channel
|
||||||
* @param {string} [reason] Reason for changing the guild's system channel
|
* @param {string} [reason] Reason for changing the guild's system channel
|
||||||
* @returns {Promise<Guild>}
|
* @returns {Promise<Guild>}
|
||||||
|
* @example
|
||||||
|
* // Edit the guild system channel
|
||||||
|
* guild.setSystemChannel(channel)
|
||||||
|
* .then(updated => console.log(`Updated guild system channel to ${guild.systemChannel}`))
|
||||||
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
setSystemChannel(systemChannel, reason) {
|
setSystemChannel(systemChannel, reason) {
|
||||||
return this.edit({ systemChannel }, reason);
|
return this.edit({ systemChannel }, reason);
|
||||||
|
|
@ -13294,7 +13299,7 @@ class ClientApplication extends Base {
|
||||||
* A link to the application's icon.
|
* A link to the application's icon.
|
||||||
* @param {Object} [options={}] Options for the icon url
|
* @param {Object} [options={}] Options for the icon url
|
||||||
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
||||||
* @param {number} [options.size=128] One of `128`, '256', `512`, `1024`, `2048`
|
* @param {number} [options.size=128] One of `128`, `256`, `512`, `1024`, `2048`
|
||||||
* @returns {?string} URL to the icon
|
* @returns {?string} URL to the icon
|
||||||
*/
|
*/
|
||||||
iconURL({ format, size } = {}) {
|
iconURL({ format, size } = {}) {
|
||||||
|
|
@ -13306,7 +13311,7 @@ class ClientApplication extends Base {
|
||||||
* A link to this application's cover image.
|
* A link to this application's cover image.
|
||||||
* @param {Object} [options={}] Options for the cover image url
|
* @param {Object} [options={}] Options for the cover image url
|
||||||
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
||||||
* @param {number} [options.size=128] One of `128`, '256', `512`, `1024`, `2048`
|
* @param {number} [options.size=128] One of `128`, `256`, `512`, `1024`, `2048`
|
||||||
* @returns {?string} URL to the cover image
|
* @returns {?string} URL to the cover image
|
||||||
*/
|
*/
|
||||||
coverImage({ format, size } = {}) {
|
coverImage({ format, size } = {}) {
|
||||||
|
|
@ -17399,7 +17404,7 @@ class GroupDMChannel extends Channel {
|
||||||
* Gets the URL to this Group DM's icon.
|
* Gets the URL to this Group DM's icon.
|
||||||
* @param {Object} [options={}] Options for the icon url
|
* @param {Object} [options={}] Options for the icon url
|
||||||
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`
|
||||||
* @param {number} [options.size=128] One of `128`, '256', `512`, `1024`, `2048`
|
* @param {number} [options.size=128] One of `128`, `256`, `512`, `1024`, `2048`
|
||||||
* @returns {?string}
|
* @returns {?string}
|
||||||
*/
|
*/
|
||||||
iconURL({ format, size } = {}) {
|
iconURL({ format, size } = {}) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue