Du kek #160

Merged
greg6775 merged 21 commits from master into i18n 2019-12-06 20:44:23 +01:00
Showing only changes of commit 4982196fb1 - Show all commits

View file

@ -64,7 +64,7 @@ public class RulesCommand implements Command {
.setDescription("The channel was successfully set to " + channel.getName() + ". Please send me the rules now.") .setDescription("The channel was successfully set to " + channel.getName() + ". Please send me the rules now.")
.build()).queue(); .build()).queue();
new EventWaiter().newOnMessageEventWaiter(event2 -> { new EventWaiter().newOnMessageEventWaiter(event2 -> {
String message = event2.getMessage().getContentDisplay(); String message = event2.getMessage().getContentRaw();
event2.getChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.INFO) event2.getChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.INFO)
.setTitle("Role to assign") .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.") .setDescription("The rules were successfully set. Please send me the name of the role which the user receives after he accepted the rules.")