title: Giving roles in JDA
body: <p>trying to make a JDA that gives roles on discord, however whenever i use getController() it puts a red line under it and there doesn't seem to be any libraries for ir , how else can i give a role, this is the code : </p>
  
  <pre class="lang-java prettyprint-override"><code>    if(args[0].equalsIgnoreCase(Main.prefix + "mute")){
  
          if (args.length == 2) {
              Member member = event.getGuild().getMemberById(args[1].replace("&lt;@", "").replace("&gt;", ""));
              Role role = event.getGuild().getRoleById("715670284023365824");
  
              if (!member.getRoles().contains(role)) {
                  //Mute user
                  event.getChannel().sendMessage("Muted " + args[1]).queue();
                  event.getGuild().getController().addRolesToMember(member, role).complete();
              }
          }
      }
  </code></pre>