diff options
author | TrueDoctor <d-kobert@web.de> | 2018-09-25 21:36:25 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-09-25 21:36:25 +0200 |
commit | ee0202042aafc76eb4339b3a04d06d06921ccdc2 (patch) | |
tree | ba5a41be5c4e61cbf759f3252d1562b649023d69 /DiscoBot/Audio/Voice.cs | |
parent | fe1af24f3cda4b94d02e3b2aad68a6c4398362b0 (diff) |
minor error fixes and functional improvements
Diffstat (limited to 'DiscoBot/Audio/Voice.cs')
-rw-r--r-- | DiscoBot/Audio/Voice.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/DiscoBot/Audio/Voice.cs b/DiscoBot/Audio/Voice.cs index 24512d2..379f65b 100644 --- a/DiscoBot/Audio/Voice.cs +++ b/DiscoBot/Audio/Voice.cs @@ -78,7 +78,7 @@ { if (volume <= 100 && volume >= 0) { - SoundEffects.Volume = volume; + SoundEffects.MaxVolume = volume; } } @@ -90,6 +90,8 @@ await this.Context.Channel.SendMessageAsync("Erst Joinen!"); } + SoundEffects.Play(path); + var sounds = Enum.GetValues(typeof(Sound)); var soundList = new List<Sound>(); foreach (var sound in sounds) |