Role Mention fix
This commit is contained in:
parent
0575c5d879
commit
4982196fb1
1 changed files with 1 additions and 1 deletions
|
|
@ -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.")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue