From d8811aad0acd22bf00d8160413333f1e5c0c46cb Mon Sep 17 00:00:00 2001 From: samvaio Date: Thu, 22 Dec 2016 05:32:05 +0530 Subject: [PATCH] animated destroy command replaced with message --- src/NadekoBot/Modules/Music/Music.cs | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/NadekoBot/Modules/Music/Music.cs b/src/NadekoBot/Modules/Music/Music.cs index 6040c162..b3b27bc5 100644 --- a/src/NadekoBot/Modules/Music/Music.cs +++ b/src/NadekoBot/Modules/Music/Music.cs @@ -102,20 +102,8 @@ namespace NadekoBot.Modules.Music //public Task Destroy(IUserMessage umsg) { var channel = (ITextChannel)umsg.Channel; - var msg = - await channel.SendMessageAsync($"🔴 Initiating Self-Destruct Sequence!").ConfigureAwait(false); - await Task.Delay(2000).ConfigureAwait(false); - await msg.ModifyAsync(m => m.Content = "⚪️ Self-Destruct Sequence Initiated T Minus 4").ConfigureAwait(false); - await Task.Delay(1000).ConfigureAwait(false); - await msg.ModifyAsync(m => m.Content = "🔴 Self-Destruct Sequence Initiated T Minus 3").ConfigureAwait(false); - await Task.Delay(1000).ConfigureAwait(false); - await msg.ModifyAsync(m => m.Content = "⚪️ Self-Destruct Sequence Initiated T Minus 2").ConfigureAwait(false); - await Task.Delay(1000).ConfigureAwait(false); - await msg.ModifyAsync(m => m.Content = "🔴 Self-Destruct Sequence Initiated T Minus 1").ConfigureAwait(false); - await Task.Delay(2000).ConfigureAwait(false); - await msg.ModifyAsync(m => m.Content = "🌸 Nice Try! I am Indestructible.").ConfigureAwait(false); - - + await channel.SendErrorAsync("Command is temporarily disabled.").ConfigureAwait(false); + /*MusicPlayer musicPlayer; if (!MusicPlayers.TryGetValue(channel.Guild.Id, out musicPlayer)) return Task.CompletedTask; if (((IGuildUser)umsg.Author).VoiceChannel == musicPlayer.PlaybackVoiceChannel)