From 42a220f7f2243895d65b539dbac96f7f1002ceba Mon Sep 17 00:00:00 2001 From: 0/0 Date: Sat, 26 Aug 2023 15:39:12 +0000 Subject: [PATCH] Make stage channels text-based (#2519) --- src/model/channel/guild_channel.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/model/channel/guild_channel.rs b/src/model/channel/guild_channel.rs index f24f4a2da18..ec8c2b6b5b8 100644 --- a/src/model/channel/guild_channel.rs +++ b/src/model/channel/guild_channel.rs @@ -194,7 +194,10 @@ impl GuildChannel { /// Whether or not this channel is text-based, meaning that it is possible to send messages. #[must_use] pub fn is_text_based(&self) -> bool { - matches!(self.kind, ChannelType::Text | ChannelType::News | ChannelType::Voice) + matches!( + self.kind, + ChannelType::Text | ChannelType::News | ChannelType::Voice | ChannelType::Stage + ) } /// Broadcasts to the channel that the current user is typing.