diff --git a/pom.xml b/pom.xml index d0bd710..37fae43 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 tc.oc.occ Bolty - 1.0.3-SNAPSHOT + 1.0.4-SNAPSHOT Bolty A minecraft to discord java plugin for Bolt diff --git a/src/main/java/tc/oc/occ/bolt/DiscordBot.java b/src/main/java/tc/oc/occ/bolt/DiscordBot.java index 90b3918..275890a 100644 --- a/src/main/java/tc/oc/occ/bolt/DiscordBot.java +++ b/src/main/java/tc/oc/occ/bolt/DiscordBot.java @@ -94,7 +94,8 @@ public void reload() { private String format(String text) { text = ChatColor.translateAlternateColorCodes('&', text); text = ChatColor.stripColor(text); - return text; + text = text.replace("@", ""); + return text.trim(); } public String getPrefix(RelayType type) {