From 1681a129fc59774dfb9c8058c795da39cf8e8247 Mon Sep 17 00:00:00 2001 From: Alexandre CABANNE Date: Fri, 11 Jan 2019 09:03:22 +0100 Subject: [PATCH] More fixed typo --- src/main/java/net/Broken/Commands/Cat.java | 2 +- src/main/java/net/Broken/Commands/Help.java | 2 +- src/main/java/net/Broken/Commands/Move.java | 8 ++++---- src/main/java/net/Broken/Commands/Music.java | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/net/Broken/Commands/Cat.java b/src/main/java/net/Broken/Commands/Cat.java index 2bb3b3e..c023c89 100644 --- a/src/main/java/net/Broken/Commands/Cat.java +++ b/src/main/java/net/Broken/Commands/Cat.java @@ -43,7 +43,7 @@ public class Cat implements Commande { } } else - event.getPrivateChannel().sendMessage("\n:warning: **__Commande non disponible en priver!__** :warning:"); + event.getPrivateChannel().sendMessage("\n:warning: **__Commande non disponible en privée!__** :warning:"); } diff --git a/src/main/java/net/Broken/Commands/Help.java b/src/main/java/net/Broken/Commands/Help.java index f1c1276..fa729cb 100644 --- a/src/main/java/net/Broken/Commands/Help.java +++ b/src/main/java/net/Broken/Commands/Help.java @@ -125,7 +125,7 @@ public class Help implements Commande { txt += nsfwTable.build(); if(!event.isFromType(ChannelType.PRIVATE)){ - Message rest = event.getTextChannel().sendMessage(new EmbedBuilder().setTitle("Commands send by private message").setColor(Color.green).build()).complete(); + Message rest = event.getTextChannel().sendMessage(new EmbedBuilder().setTitle("Commands sent by private message").setColor(Color.green).build()).complete(); new MessageTimeOut(MainBot.messageTimeOut, rest, event.getMessage()).start(); } diff --git a/src/main/java/net/Broken/Commands/Move.java b/src/main/java/net/Broken/Commands/Move.java index 1bab7df..b708712 100644 --- a/src/main/java/net/Broken/Commands/Move.java +++ b/src/main/java/net/Broken/Commands/Move.java @@ -23,7 +23,7 @@ import java.util.List; public class Move implements Commande { Logger logger = LogManager.getLogger(); - private String HELP="`//move <@utilisateur> <@rôleCible>`\n:arrow_right:\t*Deplacement d'un utilisateur vers un rôle cible, attention à bien faire des montions.*"; + private String HELP="`//move <@utilisateur> <@rôleCible>`\n:arrow_right:\t*Deplacement d'un utilisateur vers un rôle cible, attention à bien faire les mentions.*"; public List saveRoleUser; public Member user; public Guild serveur; @@ -90,7 +90,7 @@ public class Move implements Commande { if(userL.size()<1 ||roleL.size()<1) { - logger.warn("Mentionnement Incorect."); + logger.warn("Mention Incorect."); Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getMoveError("Utilisateur ou Role mal mentioner.")).complete(); List messages = new ArrayList(){{ add(rest); @@ -159,8 +159,8 @@ public class Move implements Commande { } else { - logger.warn("Arguments maquant."); - Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getMoveError("Arguments manquant.")).complete(); + logger.warn("Arguments maquants."); + Message rest = event.getTextChannel().sendMessage(EmbedMessageUtils.getMoveError("Arguments manquants.")).complete(); List messages = new ArrayList(){{ add(rest); add(event.getMessage()); diff --git a/src/main/java/net/Broken/Commands/Music.java b/src/main/java/net/Broken/Commands/Music.java index 37ab05b..5e8e533 100644 --- a/src/main/java/net/Broken/Commands/Music.java +++ b/src/main/java/net/Broken/Commands/Music.java @@ -135,7 +135,7 @@ public class Music implements Commande { break; default: - Message message = event.getTextChannel().sendMessage(EmbedMessageUtils.getMusicError("Arguments inconu!")).complete(); + Message message = event.getTextChannel().sendMessage(EmbedMessageUtils.getMusicError("Arguments inconnus!")).complete(); List messagess = new ArrayList(){{ add(message); add(event.getMessage()); @@ -146,7 +146,7 @@ public class Music implements Commande { } } else{ - Message message = event.getTextChannel().sendMessage(EmbedMessageUtils.getMusicError("Arguments manquant!")).complete(); + Message message = event.getTextChannel().sendMessage(EmbedMessageUtils.getMusicError("Arguments manquants!")).complete(); List messages = new ArrayList(){{ add(message); add(event.getMessage());