summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKobert <Kassian.Kobert@gmail.com>2018-04-09 18:16:28 +0200
committerKobert <Kassian.Kobert@gmail.com>2018-04-09 18:16:28 +0200
commit5975fb9de7bb99103aa6e83f7c13834efaddcc7d (patch)
treecce70fb5296a2bfb902207c6f5fe0b9fb2b4ea5c
parentfe80b8701a8baa6ad07e23395b48ae017730db0a (diff)
No more TTS
-rw-r--r--DiscoBot/Auxiliary/CommandExtension.cs2
-rw-r--r--DiscoBot/Auxiliary/Soundeffects.cs8
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";