mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
fixed small typo's in the Docs and added an example to <Guild>.setSystemChannel() (#1934)
This commit is contained in:
@@ -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 } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user