From 6231d5bd4e60d290c9c2ab2ff8ec5bd1a4883e1e Mon Sep 17 00:00:00 2001 From: Blue <60958064+Jimmy-Blue@users.noreply.github.com> Date: Sat, 9 Jul 2022 22:46:52 +0700 Subject: [PATCH 1/2] docs: Fix description in ``set_rate_limit_per_user`` --- interactions/api/models/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactions/api/models/channel.py b/interactions/api/models/channel.py index 7c6e09904..27c3bf6f0 100644 --- a/interactions/api/models/channel.py +++ b/interactions/api/models/channel.py @@ -487,7 +487,7 @@ async def set_rate_limit_per_user( reason: Optional[str] = None, ) -> "Channel": """ - Sets the position of the channel. + Sets the amount of seconds a user has to wait before sending another message. :param rate_limit_per_user: The new rate_limit_per_user of the channel (0-21600) :type rate_limit_per_user: int From a325b7dfcc3734f0aa0097083fbd1951ed288f21 Mon Sep 17 00:00:00 2001 From: Blue <60958064+Jimmy-Blue@users.noreply.github.com> Date: Wed, 13 Jul 2022 01:47:59 +0700 Subject: [PATCH 2/2] feat: Adding ``premium_progress_bar_enabled`` for ``Guild`` --- interactions/api/models/guild.py | 1 + 1 file changed, 1 insertion(+) diff --git a/interactions/api/models/guild.py b/interactions/api/models/guild.py index 43d0e71f9..8286c5870 100644 --- a/interactions/api/models/guild.py +++ b/interactions/api/models/guild.py @@ -328,6 +328,7 @@ class Guild(ClientSerializerMixin, IDMixin): ) stickers: Optional[List[Sticker]] = field(converter=convert_list(Sticker), default=None) features: List[str] = field() + premium_progress_bar_enabled: Optional[bool] = field(default=None) # todo assign the correct type