From 5975fb9de7bb99103aa6e83f7c13834efaddcc7d Mon Sep 17 00:00:00 2001 From: Kobert Date: Mon, 9 Apr 2018 18:16:28 +0200 Subject: No more TTS --- DiscoBot/Auxiliary/CommandExtension.cs | 2 +- DiscoBot/Auxiliary/Soundeffects.cs | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/DiscoBot/Auxiliary/CommandExtension.cs b/DiscoBot/Auxiliary/CommandExtension.cs index 6690d03..059ea91 100644 --- a/DiscoBot/Auxiliary/CommandExtension.cs +++ b/DiscoBot/Auxiliary/CommandExtension.cs @@ -15,7 +15,7 @@ public static async Task ReplyTimedAsync(this ModuleBase m, string message, TimeSpan time) { var token = message.GetHashCode(); - var send = m.Context.Channel.SendMessageAsync($"#{token}\n```xl\n{message}```", true); + var send = m.Context.Channel.SendMessageAsync($"#{token}\n```xl\n{message}```", false); var barInvoker = new BackgroundWorker(); barInvoker.DoWork += delegate diff --git a/DiscoBot/Auxiliary/Soundeffects.cs b/DiscoBot/Auxiliary/Soundeffects.cs index bc5bbb3..880753d 100644 --- a/DiscoBot/Auxiliary/Soundeffects.cs +++ b/DiscoBot/Auxiliary/Soundeffects.cs @@ -10,11 +10,13 @@ namespace DiscoBot.Auxiliary public enum Sound { + Bell, Ding, Nooo, Monterkill, Finish, - Wrong + Wrong, + Magic } public static class SoundEffects @@ -25,11 +27,15 @@ namespace DiscoBot.Auxiliary int vol = 256; switch (s) { + case Sound.Bell: case Sound.Ding: url = "https://www.myinstants.com/media/sounds/boxing-bell.mp3"; break; case Sound.Finish: url = "https://www.myinstants.com/media/sounds/finishhim.swf.mp3"; + break; + case Sound.Magic: + url = "https://www.myinstants.com/media/sounds/dream-harp-sound-effect.mp3"; break; case Sound.Monterkill: url = "https://www.myinstants.com/media/sounds/announcer_kill_monster_01.mp3"; -- cgit v1.2.3-54-g00ecf