public Ability claimCreator() {
    return builder()
        .name(CLAIM)
        .locality(ALL)
        .privacy(CREATOR)
        .input(0)
        .action(ctx -> {
          Set<Integer> admins = admins();
          int id = creatorId();

          if (admins.contains(id))
            send(ABILITY_CLAIM_FAIL, ctx);
          else {
            admins.add(id);
            send(ABILITY_CLAIM_SUCCESS, ctx);
          }
        })
        .post(commitTo(db))
        .build();
  }
public Ability claimCreator ( ) { return builder ( ) . name ( CLAIM ) . locality ( ALL ) . privacy ( CREATOR ) . input ( 0 ) . action ( ctx -> { Set < Integer > admins = admins ( ) ; int id = creatorId ( ) ; if ( admins . contains ( id ) ) send ( ABILITY_CLAIM_FAIL , ctx ) ; else { admins . add ( id ) ; send ( ABILITY_CLAIM_SUCCESS , ctx ) ; } } ) . post ( commitTo ( db ) ) . build ( ) ; }
Regular users and admins who try to claim the bot will get <b>banned</b>.

@return the ability to claim yourself as the master and creator of the bot