From 181dba0f96d8792e3565286b3983830674624cc5 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Tue, 24 Apr 2018 14:13:58 +0200 Subject: fixed sound playback moved post_processing to base constructor --- DiscoBot/Commands/MiscCommands.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'DiscoBot/Commands') 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(""))); + } } } -- cgit v1.2.3-70-g09d2