/*
 * Skybot, a multipurpose discord bot
 *      Copyright (C) 2017 - 2018  Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan & Maurice R S "Sanduhr32"
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package ml.duncte123.skybot;

import ml.duncte123.skybot.utils.AirUtils;

import java.awt.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;

import static java.awt.Color.decode;
import static java.lang.System.getProperty;


public class Settings {
    /**
     * The userID from the guy that is hosting the bot, in most cases that is just my id :D
     */
    public static final String OWNER_ID = AirUtils.CONFIG.getString("discord.botOwnerId", BuildConfig.OWNER_ID);
    // we may do jda.asBot().getApplicationInfo().complete().getOwner().getId()

    /**
     * This contains a list of different id's
     *
     * @deprecated because the bot will break if you mess with this.
     */
    @SuppressWarnings("DeprecatedIsStillUsed")
    @Deprecated
    public static final List<Long> wbkxwkZPaG4ni5lm8laY =
            Collections.unmodifiableList(AirUtils.CONFIG.getArray("discord.constantSuperUserIds",
        new ArrayList<>(){{
                add(191231307290771456L); //duncte123#1245
                add(281673659834302464L); //ramidzkh#4814
                add(198137282018934784L); //⌛.exe ¯\_(ツ)_/¯#5785
            }}).stream().map(it -> Long.valueOf(it.toString()))
                    .collect(Collectors.toList()));

    /**
     * This is the base url from the custom api
     */
    public static final String OLD_API_BASE = "https://bot-old.duncte123.me/api";
    /**
     * This is the prefix that your bot has, by default is the /
     */
    public static final String PREFIX = AirUtils.CONFIG.getString("discord.prefix", "db!");
    /**
     * This is another prefix because I can
     */
    public static final String OTHER_PREFIX = "db.";
    /**
     * This is the version of the bot
     */
    public static final String VERSION = BuildConfig.VERSION;
    /**
     * This is the name that your bot has
     */
    public static final String DEFAULT_NAME = "DuncteBot";
    /**
     * The icon url for the embeds
     */
    public static final String DEFAULT_ICON = "https://bot.duncte123.me/img/favicon.png";
    /**
     * The colour of the bar that your embed has
     */
    public static final Color defaultColour = decode(AirUtils.CONFIG.getString("discord.embedColour", "#0751c6"));
    /**
     * This holds if we can use the updater
     */
    public static final boolean enableUpdaterCommand = getProperty("updater") != null;
    /**
     * this tells the bot if we should send json errors
     */
    public static boolean useJSON = false;
}

@@ -938,24 +938,49 @@
 .ArrayList;%0A
+import java.util.Arrays;%0A
 import java.
@@ -1835,28 +1835,42 @@
     
-new ArrayList%3C%3E()%7B%7B%0A
+            Arrays.asList(%0A       
     
@@ -1881,20 +1881,17 @@
         
-add(
+ 
 19123130
@@ -1901,18 +1901,17 @@
 0771456L
-);
+,
  //dunct
@@ -1936,20 +1936,24 @@
         
-add(
+        
 28167365
@@ -1963,18 +1963,17 @@
 4302464L
-);
+,
  //ramid
@@ -2001,12 +2001,16 @@
     
+      
-add(
+  
 1981
@@ -2024,18 +2024,16 @@
 8934784L
-);
  //%E2%8C%9B.exe
@@ -2064,10 +2064,17 @@
     
-%7D%7D
+        )
 ).st

Fix codacy issues