private void SubscribeEvents() { DiscordClient.Ready += () => { readyEvent.Set(); return(Task.CompletedTask); }; DiscordClient.Log += m => { Logger.Log(DiscordUtil.ToLoggable(m)); return(Task.CompletedTask); }; }