v1.3.4 #426

Merged
greg6775 merged 2 commits from greg-dev into master 2020-03-31 16:32:13 +02:00
3 changed files with 3 additions and 4 deletions

View file

@ -78,7 +78,6 @@ public class Rethink {
public JSONObject getObjectByID(String table, String id) { public JSONObject getObjectByID(String table, String id) {
String response = r.table(table).get(id).toJson().run(conn); String response = r.table(table).get(id).toJson().run(conn);
System.out.println(response);
return new JSONObject(response); return new JSONObject(response);
} }

View file

@ -34,8 +34,8 @@ public class PauseCommand implements Command {
.build()).queue(); .build()).queue();
} else { } else {
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR, e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.ERROR,
"commands.music.pause.error.paused.title", "commands.music.pause.error.paused.title", "",
"commands.music.pause.error.paused.description") "commands.music.pause.error.paused.description", e.getRethinkServer().getPrefix())
.build()).queue(); .build()).queue();
} }
} else { } else {

View file

@ -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.title = Successfully paused
commands.music.pause.success.description = I successfully paused the played song. commands.music.pause.success.description = I successfully paused the played song.
commands.music.pause.error.paused.title = Already paused 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.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.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. commands.music.pause.help.description = Pause the playing song.