summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands
diff options
context:
space:
mode:
authoruzvkl <dennis.kobert@student.kit.edu>2019-05-20 00:54:14 +0200
committeruzvkl <dennis.kobert@student.kit.edu>2019-05-20 00:54:14 +0200
commited26623e17e8dfcc036f88cca6de10d5a35697ec (patch)
tree26dae8b824631e6542c876c82ce0e15260c411bc /DiscoBot/Commands
parent2ab4051c6fe720dc47e99b0c305a0d779ee02d51 (diff)
Reorganize Code delete ZoBotanica
Diffstat (limited to 'DiscoBot/Commands')
-rw-r--r--DiscoBot/Commands/FileHandler.cs2
-rw-r--r--DiscoBot/Commands/MiscCommands.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/DiscoBot/Commands/FileHandler.cs b/DiscoBot/Commands/FileHandler.cs
index 17928c8..4f8a785 100644
--- a/DiscoBot/Commands/FileHandler.cs
+++ b/DiscoBot/Commands/FileHandler.cs
@@ -8,7 +8,7 @@ namespace DiscoBot.Commands
public class FileHandler : ModuleBase
{
//[Command("send"), Summary("fügt Helden hinzu")]
- public async Task AddChar()
+ public void AddChar()
{
var msg = Context.Message;
if (msg.Attachments == null) throw new ArgumentException("Es wurde keine Datei angehängt");
diff --git a/DiscoBot/Commands/MiscCommands.cs b/DiscoBot/Commands/MiscCommands.cs
index 2bc2fad..738796c 100644
--- a/DiscoBot/Commands/MiscCommands.cs
+++ b/DiscoBot/Commands/MiscCommands.cs
@@ -124,7 +124,7 @@ namespace DiscoBot.Commands
[Command("clear")]
[Summary("Cleans up messages.")]
- public async Task DeleteAsync(int count)
+ public void DeleteAsync(int count)
{
var messagesAsync = Context.Channel.GetMessagesAsync(count);
if (messagesAsync != null)