diff --git a/src/structures/ClientApplication.js b/src/structures/ClientApplication.js index 84fea5521..eab5f30f5 100644 --- a/src/structures/ClientApplication.js +++ b/src/structures/ClientApplication.js @@ -123,7 +123,7 @@ class ClientApplication extends Base { * A link to the application's icon. * @param {Object} [options={}] Options for the icon url * @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 */ iconURL({ format, size } = {}) { @@ -135,7 +135,7 @@ class ClientApplication extends Base { * A link to this application's cover image. * @param {Object} [options={}] Options for the cover image url * @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 */ coverImage({ format, size } = {}) { diff --git a/src/structures/GroupDMChannel.js b/src/structures/GroupDMChannel.js index 06ba2f946..fe6653956 100644 --- a/src/structures/GroupDMChannel.js +++ b/src/structures/GroupDMChannel.js @@ -110,7 +110,7 @@ class GroupDMChannel extends Channel { * Gets the URL to this Group DM's icon. * @param {Object} [options={}] Options for the icon url * @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} */ iconURL({ format, size } = {}) { diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 7c8f6852d..c1474759b 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -253,7 +253,7 @@ class Guild extends Base { * The URL to this guild's icon. * @param {Object} [options={}] Options for the icon url * @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} */ iconURL({ format, size } = {}) { @@ -274,7 +274,7 @@ class Guild extends Base { * The URL to this guild's splash. * @param {Object} [options={}] Options for the splash url * @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} */ splashURL({ format, size } = {}) { @@ -680,6 +680,11 @@ class Guild extends Base { * @param {ChannelResolvable} systemChannel The new system channel * @param {string} [reason] Reason for changing the guild's system channel * @returns {Promise} + * @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) { return this.edit({ systemChannel }, reason);