From 181dba0f96d8792e3565286b3983830674624cc5 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Tue, 24 Apr 2018 14:13:58 +0200 Subject: fixed sound playback moved post_processing to base constructor --- DiscoBot/Audio/Soundeffects.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'DiscoBot/Audio/Soundeffects.cs') 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"); -- cgit v1.2.3-70-g09d2