From dc08bdbff5e4fdfb9f5a9160c4491d60caf0e084 Mon Sep 17 00:00:00 2001 From: SQKo <87897282+SQKo@users.noreply.github.com> Date: Sun, 30 Apr 2023 19:56:32 +0700 Subject: [PATCH] Add Channel::$managed attribute --- src/Discord/Parts/Channel/Channel.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Discord/Parts/Channel/Channel.php b/src/Discord/Parts/Channel/Channel.php index 1bdc7dc1e..9749a3ed3 100644 --- a/src/Discord/Parts/Channel/Channel.php +++ b/src/Discord/Parts/Channel/Channel.php @@ -74,6 +74,7 @@ * @property ?string|null $icon Icon hash. * @property string|null $owner_id The ID of the DM creator. Only for DM or group channels. * @property string|null $application_id ID of the group DM creator if it is a bot. + * @property bool|null $managed Whether the channel is managed by an application via the `gdm.join` OAuth2 scope. Only for group DM channels. * @property ?string|null $parent_id ID of the parent channel. * @property Carbon|null $last_pin_timestamp When the last message was pinned. * @property ?string|null $rtc_region Voice region id for the voice channel, automatic when set to null. @@ -166,6 +167,7 @@ class Channel extends Part 'icon', 'owner_id', 'application_id', + 'managed', 'parent_id', 'last_pin_timestamp', 'rtc_region',