lint: rename IsStream to IsStreaming

While it might be more proper to refer to a voice state as composing
a stream (i.e., the IVoiceState is a Stream), this property is ported
up most often to actual user entities. It makes more sense to
communicate that the user is streaming, rather than stating that the
user itself is a stream.

This is also more gramatically consistent with the other voice state
properties (e.g., IsMuted). Movement from noun-form to participle-form
remains inline with the past-participle form used on the other
properties.
This commit is contained in:
Christopher Felegy
2019-09-07 22:19:26 +00:00
parent 9bb08c9ba4
commit dcd9cdd13e
8 changed files with 8 additions and 8 deletions

View File

@@ -36,6 +36,6 @@ namespace Discord.Rest
/// <inheritdoc />
string IVoiceState.VoiceSessionId => null;
/// <inheritdoc />
bool IVoiceState.IsStream => false;
bool IVoiceState.IsStreaming => false;
}
}

View File

@@ -152,6 +152,6 @@ namespace Discord.Rest
/// <inheritdoc />
string IVoiceState.VoiceSessionId => null;
/// <inheritdoc />
bool IVoiceState.IsStream => false;
bool IVoiceState.IsStreaming => false;
}
}

View File

@@ -96,6 +96,6 @@ namespace Discord.Rest
/// <inheritdoc />
string IVoiceState.VoiceSessionId => null;
/// <inheritdoc />
bool IVoiceState.IsStream => false;
bool IVoiceState.IsStreaming => false;
}
}