todo
This commit is contained in:
parent
e047a9a5ee
commit
2f14e96228
2 changed files with 2 additions and 2 deletions
|
|
@ -126,8 +126,7 @@ public class Hadder {
|
|||
new EchoCommand(),
|
||||
new ServerStatsCommand(),
|
||||
new ProfileCommand(),
|
||||
new CodeCommand(),
|
||||
new RoleAssignmentCommand()), config, helpCommand);
|
||||
new CodeCommand()), config, helpCommand);
|
||||
|
||||
builder.addEventListeners(
|
||||
new MentionListener(rethink),
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ public class RoleAssignmentCommand implements Command {
|
|||
|
||||
@Override
|
||||
public void executed(String[] args, CommandEvent e) {
|
||||
//TODO: THIS LOL
|
||||
if (e.getGuild().getSelfMember().hasPermission(Permission.MANAGE_ROLES)) {
|
||||
|
||||
} else e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue