Tweaks to audio docs (#867)

* Tweaks to audio docs

* Make it more obvious that -1 means infinity
This commit is contained in:
Joe4evr
2017-11-06 04:06:28 +01:00
committed by Christopher F
parent da335b95c4
commit e30fd29085
4 changed files with 14 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Discord;
@@ -88,7 +89,7 @@ class Program
await _client.StartAsync();
// Wait infinitely so your bot actually stays connected.
await Task.Delay(-1);
await Task.Delay(Timeout.Infinite);
}
private IServiceProvider _services;