mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
docs: added sizes 16, 32, 64 (#2666)
* documented sizes 16, 32, 64 * Removed space * Added typedef * The options to provide => Options for the Image URL * fixed
This commit is contained in:
@@ -121,9 +121,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 {ImageURLOptions} [options={}] Options for the Image URL
|
||||
* @returns {?string} URL to the icon
|
||||
*/
|
||||
iconURL({ format, size } = {}) {
|
||||
@@ -133,9 +131,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 {ImageURLOptions} [options={}] Options for the Image URL
|
||||
* @returns {?string} URL to the cover image
|
||||
*/
|
||||
coverImage({ format, size } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user