resolveChannel method
Get related ServerVoiceChannel
final channel = await voiceState.resolveChannel();
Implementation
Future<ServerVoiceChannel?> resolveChannel() async {
return switch(channelId) {
Snowflake(:final value) => await _datastore.channel.get(value, true),
_ => null,
};
}