summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands/MiscCommands.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-06-03 15:16:59 +0200
committerTrueDoctor <d-kobert@web.de>2018-06-03 15:16:59 +0200
commit256154e2ab4244e7267ffc21959a4ce65c982783 (patch)
tree4fc38ee99a20debd7ab710cfe39700272ee067da /DiscoBot/Commands/MiscCommands.cs
parentf6edadbfcadbc9e38e22500a496a74dd49d96d8a (diff)
Basic code cleanup and removal of unnessesery libarys
Diffstat (limited to 'DiscoBot/Commands/MiscCommands.cs')
-rw-r--r--DiscoBot/Commands/MiscCommands.cs12
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);
}
}