diff --git a/pom.xml b/pom.xml
index 787cd26..012aa5a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,7 +66,7 @@
net.dv8tion
JDA
- 4.1.1_131
+ 4.1.1_101
org.json
diff --git a/src/main/java/com/bbn/hadder/listener/ReadyListener.java b/src/main/java/com/bbn/hadder/listener/ReadyListener.java
index 1277c1a..51b3491 100644
--- a/src/main/java/com/bbn/hadder/listener/ReadyListener.java
+++ b/src/main/java/com/bbn/hadder/listener/ReadyListener.java
@@ -40,13 +40,11 @@ public class ReadyListener extends ListenerAdapter {
public void onReady(@Nonnull ReadyEvent e) {
rethink.setup();
new Thread(() -> {
- e.getJDA().getGuilds().forEach(guild -> guild.retrieveMembers().thenApply((v) -> guild.getMemberCache()).thenAccept((members) -> {
- members.forEach((member) -> {
- if (!member.getId().equals(e.getJDA().getSelfUser().getId())) {
- rethink.insertUser(member.getId());
- }
- });
- }));
+ for (User user : e.getJDA().getUsers()) {
+ if (!user.getId().equals(e.getJDA().getSelfUser().getId())) {
+ rethink.insertUser(user.getId());
+ }
+ }
for (Guild g : e.getJDA().getGuilds()) {
rethink.insertGuild(g.getId());
}
diff --git a/src/main/resources/Translations/Translations_de.properties b/src/main/resources/Translations/Translations_de.properties
index 2be75d8..8d5f954 100644
--- a/src/main/resources/Translations/Translations_de.properties
+++ b/src/main/resources/Translations/Translations_de.properties
@@ -97,15 +97,11 @@ commands.misc.code.success.title = Informationen zum Einladungscode
commands.misc.code.success.description = Diese Nachricht enthält einige Informationen über den angegebenen Einladungscode.
commands.misc.code.error.title = Code nicht gefunden
commands.misc.code.error.description = Ich kann den angegebenen Einladungscode nicht finden.
-commands.misc.code.help.description = Zeigt Informationen über einen Einladungs-Code.
-commands.misc.moveall.success.title = Erfolgreich verschoben
+commands.misc.code.help.description = Shows information about a invite code.
+commands.misc.moveall.success.title = Successfully moved
commands.misc.moveall.success.description = I successfully moved %extra% members. Have fun\!
-commands.misc.moveall.error.source.int.title = Ungültige ID
-commands.misc.moveall.error.source.int.description = You didn't specified a ID as the source channel.
-commands.misc.moveall.error.target.int.title = Ungültige ID
-commands.misc.moveall.error.target.int.description = You didn't specified a ID as the target channel.
commands.misc.moveall.help.description = Moves all users in the source channel to the target channel.
-commands.misc.corona.help.description = Zeigt die neuesten Statistiken von COVID-19
+commands.misc.corona.help.description = Show the newest stats about COVID-19
commands.moderation.ban.success.title = Erfolgreich gebannt
commands.moderation.ban.success.description = Ich habe %extra% erfolgreich gebannt
@@ -274,7 +270,7 @@ commands.music.volume.help.description = Ändere die Lautstärke der Musik.
commands.music.pause.success.title = Erfolgreich pausiert
commands.music.pause.success.description = Ich habe den gespielten Song erfolgreich pausiert.
commands.music.pause.error.paused.title = Bereits pausiert
-commands.music.pause.error.paused.description = The song is already paused. You can continue playing it with %extra%play
+commands.music.pause.error.paused.description = Das Lied ist bereits pausiert.
commands.music.pause.error.connected.title = Kein Kanal
commands.music.pause.error.connected.description = Du musst im selben Sprachkanal wie der Bot sein, um den Song zu pausieren.
commands.music.pause.help.description = Pausiere das abgespielte Lied.
@@ -320,7 +316,7 @@ commands.owner.guildleave.help.description = Quit from a server
commands.owner.reboot.help.description = Startet den Bot neu.
commands.owner.shutdown.success.title = Fährt herrunter
commands.owner.shutdown.help.description = Schalte den Bot ab.
-commands.owner.test.success = Meine Freunde testen
+commands.owner.test.success = TEST my friends
commands.owner.test.help.description = Nur ein kleiner Testbefehl
commands.owner.blacklist.success.add.title = Successfully blacklisted the specified commands
commands.owner.blacklist.success.add.description = I successfully added the following commands from the blacklist\:\n %extra%
diff --git a/src/main/resources/Translations/Translations_en.properties b/src/main/resources/Translations/Translations_en.properties
index 4d56039..4ae304a 100644
--- a/src/main/resources/Translations/Translations_en.properties
+++ b/src/main/resources/Translations/Translations_en.properties
@@ -107,7 +107,7 @@ commands.misc.moveall.error.source.int.description = You didn't specified a ID a
commands.misc.moveall.error.target.int.title = Invalid ID
commands.misc.moveall.error.target.int.description = You didn't specified a ID as the target channel.
commands.misc.moveall.help.description = Moves all users in the source channel to the target channel.
-commands.misc.corona.help.description = Shows the newest stats of COVID-19
+commands.misc.corona.help.description = Show the newest stats about COVID-19
commands.moderation.ban.success.title = Successfully banned
commands.moderation.ban.success.description = I successfully baned %extra%
diff --git a/src/main/resources/Translations/Translations_es.properties b/src/main/resources/Translations/Translations_es.properties
index 98b2a88..1f07242 100644
--- a/src/main/resources/Translations/Translations_es.properties
+++ b/src/main/resources/Translations/Translations_es.properties
@@ -100,10 +100,6 @@ commands.misc.code.error.description = I can't find the specified invite code.
commands.misc.code.help.description = Shows information about a invite code.
commands.misc.moveall.success.title = Successfully moved
commands.misc.moveall.success.description = I successfully moved %extra% members. Have fun\!
-commands.misc.moveall.error.source.int.title = Invalid ID
-commands.misc.moveall.error.source.int.description = You didn't specified a ID as the source channel.
-commands.misc.moveall.error.target.int.title = Invalid ID
-commands.misc.moveall.error.target.int.description = You didn't specified a ID as the target channel.
commands.misc.moveall.help.description = Moves all users in the source channel to the target channel.
commands.misc.corona.help.description = Show the newest stats about COVID-19
@@ -274,7 +270,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. You can continue playing it with %extra%play
+commands.music.pause.error.paused.description = The song is already paused.
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.
diff --git a/src/main/resources/Translations/Translations_fr.properties b/src/main/resources/Translations/Translations_fr.properties
index 98b2a88..1f07242 100644
--- a/src/main/resources/Translations/Translations_fr.properties
+++ b/src/main/resources/Translations/Translations_fr.properties
@@ -100,10 +100,6 @@ commands.misc.code.error.description = I can't find the specified invite code.
commands.misc.code.help.description = Shows information about a invite code.
commands.misc.moveall.success.title = Successfully moved
commands.misc.moveall.success.description = I successfully moved %extra% members. Have fun\!
-commands.misc.moveall.error.source.int.title = Invalid ID
-commands.misc.moveall.error.source.int.description = You didn't specified a ID as the source channel.
-commands.misc.moveall.error.target.int.title = Invalid ID
-commands.misc.moveall.error.target.int.description = You didn't specified a ID as the target channel.
commands.misc.moveall.help.description = Moves all users in the source channel to the target channel.
commands.misc.corona.help.description = Show the newest stats about COVID-19
@@ -274,7 +270,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. You can continue playing it with %extra%play
+commands.music.pause.error.paused.description = The song is already paused.
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.
diff --git a/src/main/resources/Translations/Translations_ru.properties b/src/main/resources/Translations/Translations_ru.properties
index 98b2a88..1f07242 100644
--- a/src/main/resources/Translations/Translations_ru.properties
+++ b/src/main/resources/Translations/Translations_ru.properties
@@ -100,10 +100,6 @@ commands.misc.code.error.description = I can't find the specified invite code.
commands.misc.code.help.description = Shows information about a invite code.
commands.misc.moveall.success.title = Successfully moved
commands.misc.moveall.success.description = I successfully moved %extra% members. Have fun\!
-commands.misc.moveall.error.source.int.title = Invalid ID
-commands.misc.moveall.error.source.int.description = You didn't specified a ID as the source channel.
-commands.misc.moveall.error.target.int.title = Invalid ID
-commands.misc.moveall.error.target.int.description = You didn't specified a ID as the target channel.
commands.misc.moveall.help.description = Moves all users in the source channel to the target channel.
commands.misc.corona.help.description = Show the newest stats about COVID-19
@@ -274,7 +270,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. You can continue playing it with %extra%play
+commands.music.pause.error.paused.description = The song is already paused.
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.
diff --git a/src/main/resources/Translations/Translations_tr.properties b/src/main/resources/Translations/Translations_tr.properties
index 98b2a88..1f07242 100644
--- a/src/main/resources/Translations/Translations_tr.properties
+++ b/src/main/resources/Translations/Translations_tr.properties
@@ -100,10 +100,6 @@ commands.misc.code.error.description = I can't find the specified invite code.
commands.misc.code.help.description = Shows information about a invite code.
commands.misc.moveall.success.title = Successfully moved
commands.misc.moveall.success.description = I successfully moved %extra% members. Have fun\!
-commands.misc.moveall.error.source.int.title = Invalid ID
-commands.misc.moveall.error.source.int.description = You didn't specified a ID as the source channel.
-commands.misc.moveall.error.target.int.title = Invalid ID
-commands.misc.moveall.error.target.int.description = You didn't specified a ID as the target channel.
commands.misc.moveall.help.description = Moves all users in the source channel to the target channel.
commands.misc.corona.help.description = Show the newest stats about COVID-19
@@ -274,7 +270,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. You can continue playing it with %extra%play
+commands.music.pause.error.paused.description = The song is already paused.
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.
diff --git a/src/main/resources/Translations/Translations_zh.properties b/src/main/resources/Translations/Translations_zh.properties
index 98b2a88..1f07242 100644
--- a/src/main/resources/Translations/Translations_zh.properties
+++ b/src/main/resources/Translations/Translations_zh.properties
@@ -100,10 +100,6 @@ commands.misc.code.error.description = I can't find the specified invite code.
commands.misc.code.help.description = Shows information about a invite code.
commands.misc.moveall.success.title = Successfully moved
commands.misc.moveall.success.description = I successfully moved %extra% members. Have fun\!
-commands.misc.moveall.error.source.int.title = Invalid ID
-commands.misc.moveall.error.source.int.description = You didn't specified a ID as the source channel.
-commands.misc.moveall.error.target.int.title = Invalid ID
-commands.misc.moveall.error.target.int.description = You didn't specified a ID as the target channel.
commands.misc.moveall.help.description = Moves all users in the source channel to the target channel.
commands.misc.corona.help.description = Show the newest stats about COVID-19
@@ -274,7 +270,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. You can continue playing it with %extra%play
+commands.music.pause.error.paused.description = The song is already paused.
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.