summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-04-24 14:13:58 +0200
committerTrueDoctor <d-kobert@web.de>2018-04-24 14:13:58 +0200
commit181dba0f96d8792e3565286b3983830674624cc5 (patch)
tree9c6a5fc00bf69aad09d5a335c59a11854ae49002 /DiscoBot/Commands
parente5e0c1c5c9fb6afd68ebe9dc075af23f46f11e25 (diff)
fixed sound playback
moved post_processing to base constructor
Diffstat (limited to 'DiscoBot/Commands')
-rw-r--r--DiscoBot/Commands/MiscCommands.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/DiscoBot/Commands/MiscCommands.cs b/DiscoBot/Commands/MiscCommands.cs
index c067507..d60e25d 100644
--- a/DiscoBot/Commands/MiscCommands.cs
+++ b/DiscoBot/Commands/MiscCommands.cs
@@ -28,5 +28,13 @@
{
return this.ReplyAsync(echo);
}
+
+ [Command("spot"), Summary("Echos a message.")]
+ [Alias("spotify")]
+ public Task SpotiAsync([Remainder, Summary("The text to echo")] string echo)
+ {
+ var test = new Spotify.WebClient();
+ return this.ReplyAsync(string.Join("\n", test.GetPlaylist("")));
+ }
}
}