diff options
author | Kobert <Kassian.Kobert@gmail.com> | 2018-06-03 19:43:17 +0200 |
---|---|---|
committer | Kobert <Kassian.Kobert@gmail.com> | 2018-06-03 19:43:17 +0200 |
commit | c5d52357f365e2b095f5c430dceadd1f42045880 (patch) | |
tree | f257dd57ffb31da2e422dc64dc42de4cc13cd8c8 /DiscoBot/Audio/Voice.cs | |
parent | 62c71f7189b0bc3689fe6f82a8234af922cef2d2 (diff) | |
parent | 256154e2ab4244e7267ffc21959a4ce65c982783 (diff) |
Merge branch 'master' of https://github.com/TrueDoctor/DiscoBot
Diffstat (limited to 'DiscoBot/Audio/Voice.cs')
-rw-r--r-- | DiscoBot/Audio/Voice.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DiscoBot/Audio/Voice.cs b/DiscoBot/Audio/Voice.cs index f9fc7a3..84a221c 100644 --- a/DiscoBot/Audio/Voice.cs +++ b/DiscoBot/Audio/Voice.cs @@ -18,7 +18,7 @@ { public static IAudioClient Client { get; set; } - public static async Task SendAsync(string path, int volume = 256) + public static void SendAsync(string path, int volume = 256) { if (Client == null) { @@ -74,7 +74,7 @@ } [Command("volume")] - public async Task SetVolume(int volume) + public void SetVolume(int volume) { if (volume <= 100 && volume >= 0) { |