default to 0 instead of 15 for Guild.sticker_limit

This commit is contained in:
Nadir Chowdhury 2021-08-19 11:21:52 +01:00 committed by GitHub
parent 489e5f3288
commit d4c683738d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -717,7 +717,7 @@ class Guild(Hashable):
.. versionadded:: 2.0
"""
more_stickers = 60 if 'MORE_STICKERS' in self.features else 15
more_stickers = 60 if 'MORE_STICKERS' in self.features else 0
return max(more_stickers, self._PREMIUM_GUILD_LIMITS[self.premium_tier].stickers)
@property