Browse Source

fix sending message in rest text-in-voice channels

pull/2501/head
Misha133 2 years ago
parent
commit
771e09449f
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/Discord.Net.Rest/Entities/Channels/RestVoiceChannel.cs

+ 1
- 2
src/Discord.Net.Rest/Entities/Channels/RestVoiceChannel.cs View File

@@ -19,8 +19,7 @@ namespace Discord.Rest
/// <summary>
/// Gets whether or not the guild has Text-In-Voice enabled and the voice channel is a TiV channel.
/// </summary>
public virtual bool IsTextInVoice
=> Guild.Features.HasTextInVoice;
public virtual bool IsTextInVoice => true;
/// <inheritdoc />
public int Bitrate { get; private set; }
/// <inheritdoc />


Loading…
Cancel
Save