From 69623072daaae0189c5a5faa2362050b3d4c454c Mon Sep 17 00:00:00 2001 From: GregTCLTK Date: Tue, 31 Mar 2020 14:40:50 +0200 Subject: [PATCH 1/2] Remove debug --- src/main/java/com/bbn/hadder/Rethink.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/bbn/hadder/Rethink.java b/src/main/java/com/bbn/hadder/Rethink.java index f8d5ca6..6be8bdd 100644 --- a/src/main/java/com/bbn/hadder/Rethink.java +++ b/src/main/java/com/bbn/hadder/Rethink.java @@ -78,7 +78,6 @@ public class Rethink { public JSONObject getObjectByID(String table, String id) { String response = r.table(table).get(id).toJson().run(conn); - System.out.println(response); return new JSONObject(response); } -- 2.45.3 From fc46756281b0254b64f03288cf4191ab6bf1d201 Mon Sep 17 00:00:00 2001 From: GregTCLTK Date: Tue, 31 Mar 2020 14:53:33 +0200 Subject: [PATCH 2/2] It's better yk --- src/main/java/com/bbn/hadder/commands/music/PauseCommand.java | 4 ++-- src/main/resources/Translations/Translations_en.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/bbn/hadder/commands/music/PauseCommand.java b/src/main/java/com/bbn/hadder/commands/music/PauseCommand.java index baf55b0..3dcf47e 100644 --- a/src/main/java/com/bbn/hadder/commands/music/PauseCommand.java +++ b/src/main/java/com/bbn/hadder/commands/music/PauseCommand.java @@ -34,8 +34,8 @@ public class PauseCommand implements Command { .build()).queue(); } else { e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, - "commands.music.pause.error.paused.title", - "commands.music.pause.error.paused.description") + "commands.music.pause.error.paused.title", "", + "commands.music.pause.error.paused.description", e.getRethinkServer().getPrefix()) .build()).queue(); } } else { diff --git a/src/main/resources/Translations/Translations_en.properties b/src/main/resources/Translations/Translations_en.properties index 54ef718..98b2a88 100644 --- a/src/main/resources/Translations/Translations_en.properties +++ b/src/main/resources/Translations/Translations_en.properties @@ -274,7 +274,7 @@ commands.music.volume.help.description = Change the volume of the music. commands.music.pause.success.title = Successfully paused commands.music.pause.success.description = I successfully paused the played song. commands.music.pause.error.paused.title = Already paused -commands.music.pause.error.paused.description = The song is already paused. +commands.music.pause.error.paused.description = The song is already paused. You can continue playing it with %extra%play commands.music.pause.error.connected.title = No channel commands.music.pause.error.connected.description = You have to be in the same voice channel as the bot to pause the song. commands.music.pause.help.description = Pause the playing song. -- 2.45.3