diff options
Diffstat (limited to 'DiscoBot/Commands')
-rw-r--r-- | DiscoBot/Commands/MiscCommands.cs | 8 |
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(""))); + } } } |