From 4b4506f24356d3ecd585de6863d6fe99e7928033 Mon Sep 17 00:00:00 2001 From: Joe4evr Date: Tue, 7 Mar 2017 17:19:51 +0100 Subject: [PATCH] ConnectAsync -> StartAsync --- docs/guides/samples/first-steps.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/guides/samples/first-steps.cs b/docs/guides/samples/first-steps.cs index 3f1377ed7..95aacc9d3 100644 --- a/docs/guides/samples/first-steps.cs +++ b/docs/guides/samples/first-steps.cs @@ -77,7 +77,8 @@ class Program // Login and connect. await _client.LoginAsync(TokenType.Bot, /* */); - await _client.ConnectAsync(); + // Prior to rc-00608 this was ConnectAsync(); + await _client.StartAsync(); // Wait infinitely so your bot actually stays connected. await Task.Delay(-1); @@ -125,4 +126,4 @@ class Program // await msg.Channel.SendMessageAsync(result.ErrorReason); } } -} \ No newline at end of file +}