diff --git a/pom.xml b/pom.xml
index a15fa7aa..c57ee4cc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
com.github.vaerys
DiscordSAIL
- 2.10.0
+ 2.10.1
89849cc
diff --git a/src/main/java/com/github/vaerys/commands/modtools/Mute.java b/src/main/java/com/github/vaerys/commands/modtools/Mute.java
index 28445e65..bd679e76 100644
--- a/src/main/java/com/github/vaerys/commands/modtools/Mute.java
+++ b/src/main/java/com/github/vaerys/commands/modtools/Mute.java
@@ -63,7 +63,7 @@ public String execute(String args, CommandObject command) {
String timeValue = "";
if (timeSecs > 0) {
- timeValue = " for " + Utility.formatTime(timeSecs, true);
+ timeValue = Utility.formatTime(timeSecs, true);
}
if (Pattern.compile("(^⚠ | ⚠|⚠)").matcher(reason.toString()).find()) {
@@ -80,7 +80,7 @@ public String execute(String args, CommandObject command) {
if (reason.toString().isEmpty()) reason.setContent("No reason given");
// final responses:
- String response = String.format(msgFormat, muted.displayName, timeValue);
+ String response = String.format(msgFormat, muted.displayName, " for " + timeValue);
if (adminChannel != null) {
RequestHandler.sendMessage(response + String.format(adminMsg, command.user.displayName,
@@ -106,7 +106,7 @@ protected String[] names() {
@Override
protected String usage() {
- return "[@User] [+/-/add/del] (Time) (Reason)";
+ return "[@User] (Time) (Reason)";
}
@Override
diff --git a/src/main/java/com/github/vaerys/commands/roleSelect/ListModifs.java b/src/main/java/com/github/vaerys/commands/roleSelect/ListModifs.java
index dd65f5dc..497371a7 100644
--- a/src/main/java/com/github/vaerys/commands/roleSelect/ListModifs.java
+++ b/src/main/java/com/github/vaerys/commands/roleSelect/ListModifs.java
@@ -20,7 +20,7 @@
public class ListModifs extends Command {
public static XEmbedBuilder getList(CommandObject command) {
- String title = "> Here are the **Modifier** roles you can choose from:\n";
+ String title = "> Here are the Modifier roles you can choose from:";
List list = command.guild.getModifierRoles().stream().map(iRole -> iRole.getName()).collect(Collectors.toList());
XEmbedBuilder builder = new XEmbedBuilder(command);
builder.withTitle(title);
diff --git a/src/main/java/com/github/vaerys/commands/roleSelect/ListRoles.java b/src/main/java/com/github/vaerys/commands/roleSelect/ListRoles.java
index 0d057a82..18ae35e6 100644
--- a/src/main/java/com/github/vaerys/commands/roleSelect/ListRoles.java
+++ b/src/main/java/com/github/vaerys/commands/roleSelect/ListRoles.java
@@ -20,7 +20,7 @@
public class ListRoles extends Command {
public static XEmbedBuilder getList(CommandObject command) {
- String title = "> Here are the **Cosmetic** roles you can choose from:\n";
+ String title = "> Here are the Cosmetic roles you can choose from:";
List list = command.guild.getCosmeticRoles().stream().map(iRole -> iRole.getName()).collect(Collectors.toList());
XEmbedBuilder builder = new XEmbedBuilder(command);
builder.withTitle(title);
diff --git a/target/JavaDiscordSAILv2.jar b/target/JavaDiscordSAILv2.jar
index 6f8c9048..6d6a4806 100644
Binary files a/target/JavaDiscordSAILv2.jar and b/target/JavaDiscordSAILv2.jar differ