private async Task DiscordShardedClientOnChannelDestroyed(SocketChannel arg) { if (ChannelDestroyed != null) { await ChannelDestroyed.Invoke(this, arg).ConfigureAwait(false); } }
internal async Task OnChannelDestroyed(SocketChannel x) => await(ChannelDestroyed?.Invoke(x) ?? Task.CompletedTask);
private void AriClient_OnChannelDestroyedEvent(IAriClient sender, ChannelDestroyedEvent e) { ChannelDestroyed?.Invoke(this, e); }