diff options
author | Kobert <Kassian.Kobert@gmail.com> | 2018-06-03 19:43:17 +0200 |
---|---|---|
committer | Kobert <Kassian.Kobert@gmail.com> | 2018-06-03 19:43:17 +0200 |
commit | c5d52357f365e2b095f5c430dceadd1f42045880 (patch) | |
tree | f257dd57ffb31da2e422dc64dc42de4cc13cd8c8 /DiscoBot/Commands/MiscCommands.cs | |
parent | 62c71f7189b0bc3689fe6f82a8234af922cef2d2 (diff) | |
parent | 256154e2ab4244e7267ffc21959a4ce65c982783 (diff) |
Merge branch 'master' of https://github.com/TrueDoctor/DiscoBot
Diffstat (limited to 'DiscoBot/Commands/MiscCommands.cs')
-rw-r--r-- | DiscoBot/Commands/MiscCommands.cs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/DiscoBot/Commands/MiscCommands.cs b/DiscoBot/Commands/MiscCommands.cs index 551022a..8c9417c 100644 --- a/DiscoBot/Commands/MiscCommands.cs +++ b/DiscoBot/Commands/MiscCommands.cs @@ -51,14 +51,6 @@ namespace DiscoBot.Commands 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(""))); - } - [Command("liebe"), Summary("Echos a message.")] [Alias("Liebe", "<3", "love")] public Task LoveAsync() @@ -190,7 +182,7 @@ namespace DiscoBot.Commands } if(Permissions.Check(this.Context, new []{"Admin", "Mod"})) - this.ReplyTimedAsync(sb.ToString(), TimeSpan.FromSeconds(90)); + await this.ReplyTimedAsync(sb.ToString(), TimeSpan.FromSeconds(90)); //await this.ReplyAsync($"{count} Duplikate gefunden"); @@ -267,7 +259,7 @@ namespace DiscoBot.Commands Antwort = Antwort + $"\nAuf unserem Server Kein Match gefunden: {quarry} \n```"; } - ReplyAsync(Antwort); + await ReplyAsync(Antwort); } } |