channel property Null safety

GuildChannel? channel

Implementation

GuildChannel? get channel => guild?.channels.cache.get<GuildChannel>(_channelId);