resolvePublicUpdatesChannel method
Resolve the server's public updates channel.
final publicUpdatesChannel = await server.channels.resolvePublicUpdatesChannel();
Implementation
Future<ServerTextChannel?> resolvePublicUpdatesChannel({bool force = false}) async {
return switch (publicUpdatesChannelId) {
Snowflake(:final value) => _datastore.channel.get<ServerTextChannel>(value, force),
_ => null,
};
}