diff options
author | TrueDoctor <d-kobert@web.de> | 2018-04-24 14:13:58 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-04-24 14:13:58 +0200 |
commit | 181dba0f96d8792e3565286b3983830674624cc5 (patch) | |
tree | 9c6a5fc00bf69aad09d5a335c59a11854ae49002 /DiscoBot/Audio/Soundeffects.cs | |
parent | e5e0c1c5c9fb6afd68ebe9dc075af23f46f11e25 (diff) |
fixed sound playback
moved post_processing to base constructor
Diffstat (limited to 'DiscoBot/Audio/Soundeffects.cs')
-rw-r--r-- | DiscoBot/Audio/Soundeffects.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/DiscoBot/Audio/Soundeffects.cs b/DiscoBot/Audio/Soundeffects.cs index 555a79c..485be28 100644 --- a/DiscoBot/Audio/Soundeffects.cs +++ b/DiscoBot/Audio/Soundeffects.cs @@ -13,7 +13,8 @@ Monterkill, Finish, Wrong, - Magic + Magic, + Stupid } public static class SoundEffects @@ -40,9 +41,11 @@ case Sound.Nooo: url = "https://www.myinstants.com/media/sounds/nooo.swf.mp3"; break; + case Sound.Stupid: + url = "https://www.myinstants.com/media/sounds/stupid_dum_03.mp3"; + vol = 10; + break; case Sound.Wrong: - // url = "https://www.myinstants.com/media/sounds/stupid_dum_03.mp3"; - // vol = 10; url = "https://www.myinstants.com/media/sounds/wrong-answer-sound-effect.mp3"; vol = 50; break; @@ -52,6 +55,7 @@ { // await Dsa.Service.SendAudioAsync(url, vol); await Voice.SendAsync(url, vol); + return; } throw new Exception("Ton Existiert nicht"); |