#768 Adjust to ConfigMe 0.2 and restrict command with permission

This commit is contained in:
ljacqu
2016-10-16 21:40:59 +02:00
parent ed6c7043ae
commit 77d4f4b24d
8 changed files with 67 additions and 65 deletions
@@ -291,10 +291,10 @@ public class CommandInitializer {
CommandDescription.builder()
.parent(AUTHME_BASE)
.labels("messages")
.labels("messages", "msg")
.description("Add missing messages")
.detailedDescription("Adds missing messages to the current messages file.")
// TODO #768: add permission for command
.permission(AdminPermission.UPDATE_MESSAGES)
.executableCommand(MessagesCommand.class)
.build();