fix: allow null to be passed in order to reset icon/avatar (#6646)

This commit is contained in:
Shubham Parihar
2021-09-23 17:10:51 +05:30
committed by GitHub
parent 92f6471e8e
commit 603350645d
6 changed files with 45 additions and 39 deletions

View File

@@ -146,7 +146,7 @@ class GuildManager extends CachedManager {
* @property {DefaultMessageNotificationLevel|number} [defaultMessageNotifications] The default message notifications
* for the guild
* @property {ExplicitContentFilterLevel} [explicitContentFilter] The explicit content filter level for the guild
* @property {BufferResolvable|Base64Resolvable} [icon=null] The icon for the guild
* @property {?(BufferResolvable|Base64Resolvable)} [icon=null] The icon for the guild
* @property {PartialRoleData[]} [roles=[]] The roles for this guild,
* the first element of this array is used to change properties of the guild's everyone role.
* @property {Snowflake|number} [systemChannelId] The system channel's id