diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 83d7c35..c6cf5f2 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -57,7 +57,7 @@ If a community member engages in unacceptable behavior, the community organizers ## 7. Reporting Guidelines -If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. admin@bigbotnetwork.de. +If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. admin@bigbotnetwork.com. @@ -77,7 +77,7 @@ This code of conduct and its related procedures also applies to unacceptable beh ## 10. Contact info -admin@bigbotnetwork.de +admin@bigbotnetwork.com ## 11. License and attribution diff --git a/README.md b/README.md index 1ee123b..bd25925 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Hadder Discord is a multi-purpose Discord Bot with 100% uptime. [![Build Status](https://github.com/BigBotNetwork/Hadder/workflows/Hadder/badge.svg)](https://github.com/BigBotNetwork/Hadder) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/ddb8cb7ec85f467caa691c175e1f01b5)](https://www.codacy.com/gh/BigBotNetwork/Hadder?utm_source=github.com&utm_medium=referral&utm_content=BigBotNetwork/Hadder&utm_campaign=Badge_Grade) +[![Crowdin](https://badges.crowdin.net/e/bc0babde730eb3eada34778502a31b03/localized.svg)](https://bbn.crowdin.com/hadder) [![Discord Bots](https://top.gg/api/widget/637002314162372639.svg)](https://top.gg/bot/637002314162372639) diff --git a/crowdin.yml b/crowdin.yml index 09c4ba1..a477e40 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,3 +1,3 @@ files: - source: src/main/Translations/en_us.json - translation: src/main/Translations/%two_letters_code%/%original_file_name% + translation: src/main/Translations/%two_letters_code%.json \ No newline at end of file diff --git a/de/src/main/Translations/Translated/DE/en.json b/de/src/main/Translations/Translated/DE/en.json new file mode 100644 index 0000000..4c018be --- /dev/null +++ b/de/src/main/Translations/Translated/DE/en.json @@ -0,0 +1,3 @@ +{ + "Test String": "Ich bin cool" +} diff --git a/en/src/main/Translations/Translated/en/en.json b/en/src/main/Translations/Translated/en/en.json new file mode 100644 index 0000000..7abf155 --- /dev/null +++ b/en/src/main/Translations/Translated/en/en.json @@ -0,0 +1,3 @@ +{ + "Test String": "I am a test string" +} diff --git a/es/src/main/Translations/Translated/es/en.json b/es/src/main/Translations/Translated/es/en.json new file mode 100644 index 0000000..7abf155 --- /dev/null +++ b/es/src/main/Translations/Translated/es/en.json @@ -0,0 +1,3 @@ +{ + "Test String": "I am a test string" +} diff --git a/fr/src/main/Translations/Translated/fr/en.json b/fr/src/main/Translations/Translated/fr/en.json new file mode 100644 index 0000000..7abf155 --- /dev/null +++ b/fr/src/main/Translations/Translated/fr/en.json @@ -0,0 +1,3 @@ +{ + "Test String": "I am a test string" +} diff --git a/src/main/Translations/DE_TRANSLATION.properties b/src/main/Translations/DE_TRANSLATION.properties deleted file mode 100644 index e69de29..0000000 diff --git a/src/main/Translations/EN_TRANSLATION.properties b/src/main/Translations/EN_TRANSLATION.properties deleted file mode 100644 index e69de29..0000000 diff --git a/src/main/Translations/en_us.json b/src/main/Translations/en_us.json index 8b13789..1c025ec 100644 --- a/src/main/Translations/en_us.json +++ b/src/main/Translations/en_us.json @@ -1 +1,3 @@ - +{ + "Hadder": "Hadder" +} diff --git a/src/main/java/com/bbn/hadder/commands/moderation/RulesCommand.java b/src/main/java/com/bbn/hadder/commands/moderation/RulesCommand.java index d6e80f8..244df86 100644 --- a/src/main/java/com/bbn/hadder/commands/moderation/RulesCommand.java +++ b/src/main/java/com/bbn/hadder/commands/moderation/RulesCommand.java @@ -64,7 +64,7 @@ public class RulesCommand implements Command { .setDescription("The channel was successfully set to " + channel.getName() + ". Please send me the rules now.") .build()).queue(); new EventWaiter().newOnMessageEventWaiter(event2 -> { - String message = event2.getMessage().getContentDisplay(); + String message = event2.getMessage().getContentRaw(); event2.getChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.INFO) .setTitle("Role to assign") .setDescription("The rules were successfully set. Please send me the name of the role which the user receives after he accepted the rules.")