Update development #5
1 arquivos alterados com 2 adições e 2 exclusões
Fix typo.
commit
719e02907a
|
|
@ -212,7 +212,7 @@ public class Bot extends ListenerAdapter {
|
||||||
|
|
||||||
{
|
{
|
||||||
if (values.length != 1) {
|
if (values.length != 1) {
|
||||||
sendFeedbackMessage(e.getChannel(), "Invalid command usage.", String.format("Please not that the command is `%sregister <minecraft nickname> <uuid>`\nExample: `%sregister Notch`", prefix, prefix));
|
sendFeedbackMessage(e.getChannel(), "Invalid command usage.", String.format("Please note that the command is `%sregister <minecraft username>`\nExample: `%sregister Notch`", prefix, prefix));
|
||||||
return;
|
return;
|
||||||
} else if (values[0].length() > 16 || values[0].length() < 3) {
|
} else if (values[0].length() > 16 || values[0].length() < 3) {
|
||||||
sendFeedbackMessage(e.getChannel(), "Invalid nickname.", "The nickname you inserted is either too big or too small.");
|
sendFeedbackMessage(e.getChannel(), "Invalid nickname.", "The nickname you inserted is either too big or too small.");
|
||||||
|
|
@ -220,7 +220,7 @@ public class Bot extends ListenerAdapter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sendTempFeedbackMessage(e.getChannel(), "Command feedback.", "Your request has been received and is being processed, if you don't get another feedback message in the next minute than please contact a moderator.", 10);
|
sendTempFeedbackMessage(e.getChannel(), "Command feedback.", "Your request has been received and is being processed, if you don't get another feedback message in the next minute than please contact a moderator.", 7);
|
||||||
|
|
||||||
List<String> roles = getMemberRoles();
|
List<String> roles = getMemberRoles();
|
||||||
List<Role> userRoles = author.getRoles().stream().filter((role) -> roles.contains(role.getId())).collect(Collectors.toList());
|
List<Role> userRoles = author.getRoles().stream().filter((role) -> roles.contains(role.getId())).collect(Collectors.toList());
|
||||||
|
|
|
||||||
Referência em uma nova issue