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