feat(GuildChannel): createInvite target options (#5514)

Co-authored-by: Antonio Román <kyradiscord@gmail.com>
Co-authored-by: Advaith <advaithj1@gmail.com>
This commit is contained in:
Souji
2021-05-11 22:25:09 +02:00
committed by GitHub
parent ff2f7372f2
commit f831872125
6 changed files with 106 additions and 13 deletions

View File

@@ -75,7 +75,7 @@ class Application extends Base {
* @param {ImageURLOptions} [options={}] Options for the Image URL
* @returns {?string} URL to the cover image
*/
coverImage({ format, size } = {}) {
coverURL({ format, size } = {}) {
if (!this.cover) return null;
return Endpoints.CDN(this.client.options.http.cdn).AppIcon(this.id, this.cover, { format, size });
}