Fix not sending private message for cat

This commit is contained in:
Sebastien 2019-01-11 09:37:12 +01:00
parent 1f05e7c18f
commit 5612d87d32

View File

@ -2,7 +2,6 @@ package net.Broken.Commands;
import net.Broken.Commande; import net.Broken.Commande;
import net.Broken.Tools.Redirection;
import net.dv8tion.jda.core.entities.ChannelType; import net.dv8tion.jda.core.entities.ChannelType;
import net.dv8tion.jda.core.events.message.MessageReceivedEvent; import net.dv8tion.jda.core.events.message.MessageReceivedEvent;
import org.json.JSONObject; import org.json.JSONObject;
@ -43,7 +42,7 @@ public class Cat implements Commande {
} }
} }
else else
event.getPrivateChannel().sendMessage("\n:warning: **__Commande non disponible en privee!__** :warning:"); event.getPrivateChannel().sendMessage("\n:warning: **__Commande non disponible en privee!__** :warning:").queue();
} }