animated destroy command replaced with message
This commit is contained in:
parent
02325d1f5d
commit
d8811aad0a
@ -102,19 +102,7 @@ namespace NadekoBot.Modules.Music
|
|||||||
//public Task Destroy(IUserMessage umsg)
|
//public Task Destroy(IUserMessage umsg)
|
||||||
{
|
{
|
||||||
var channel = (ITextChannel)umsg.Channel;
|
var channel = (ITextChannel)umsg.Channel;
|
||||||
var msg =
|
await channel.SendErrorAsync("Command is temporarily disabled.").ConfigureAwait(false);
|
||||||
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);
|
|
||||||
|
|
||||||
|
|
||||||
/*MusicPlayer musicPlayer;
|
/*MusicPlayer musicPlayer;
|
||||||
if (!MusicPlayers.TryGetValue(channel.Guild.Id, out musicPlayer)) return Task.CompletedTask;
|
if (!MusicPlayers.TryGetValue(channel.Guild.Id, out musicPlayer)) return Task.CompletedTask;
|
||||||
|
Loading…
Reference in New Issue
Block a user