diff --git a/src/main/java/com/jagrosh/jmusicbot/BotConfig.java b/src/main/java/com/jagrosh/jmusicbot/BotConfig.java index 2341174c2..f083b21a3 100644 --- a/src/main/java/com/jagrosh/jmusicbot/BotConfig.java +++ b/src/main/java/com/jagrosh/jmusicbot/BotConfig.java @@ -40,7 +40,7 @@ public class BotConfig private Path path = null; private String token, prefix, altprefix, helpWord, playlistsFolder, logLevel, - successEmoji, warningEmoji, errorEmoji, loadingEmoji, searchingEmoji, pipedURL, + successEmoji, warningEmoji, errorEmoji, loadingEmoji, searchingEmoji, evalEngine; private boolean stayInChannel, songInGame, npImages, updatealerts, useEval, dbots, autoNowPlaying; private long owner, maxSeconds, aloneTimeUntilStop; @@ -82,7 +82,6 @@ public void load() errorEmoji = config.getString("error"); loadingEmoji = config.getString("loading"); searchingEmoji = config.getString("searching"); - pipedURL = config.getString("piped"); game = OtherUtil.parseGame(config.getString("game")); status = OtherUtil.parseStatus(config.getString("status")); stayInChannel = config.getBoolean("stayinchannel"); @@ -275,11 +274,6 @@ public String getSearching() return searchingEmoji; } - public String getPiped() - { - return "NONE"; - } - public Activity getGame() { return game; diff --git a/src/main/java/com/jagrosh/jmusicbot/JMusicBot.java b/src/main/java/com/jagrosh/jmusicbot/JMusicBot.java index 86b781508..d06153b99 100644 --- a/src/main/java/com/jagrosh/jmusicbot/JMusicBot.java +++ b/src/main/java/com/jagrosh/jmusicbot/JMusicBot.java @@ -182,7 +182,6 @@ private static CommandClient createCommandClient(BotConfig config, SettingsManag CommandClientBuilder cb = new CommandClientBuilder() .setPrefix(config.getPrefix()) .setAlternativePrefix(config.getAltPrefix()) - // .setPipedURL(config.getPiped()) .setOwnerId(Long.toString(config.getOwnerId())) .setEmojis(config.getSuccess(), config.getWarning(), config.getError()) .setHelpWord(config.getHelp()) diff --git a/src/main/java/com/jagrosh/jmusicbot/utils/OtherUtil.java b/src/main/java/com/jagrosh/jmusicbot/utils/OtherUtil.java index 90abba841..7d20c98f2 100644 --- a/src/main/java/com/jagrosh/jmusicbot/utils/OtherUtil.java +++ b/src/main/java/com/jagrosh/jmusicbot/utils/OtherUtil.java @@ -40,7 +40,7 @@ */ public class OtherUtil { - public final static String NEW_VERSION_AVAILABLE = "There is a new version of JMusicBot available!\n" + public final static String NEW_VERSION_AVAILABLE = "There is a new version of ShiverFork available!\n" + "Current version: %s\n" + "New Version: %s\n\n" + "Please visit https://github.com/lilliepad1/MusicBotShiverFork/releases/latest to get the latest release."; @@ -171,7 +171,7 @@ public static void checkVersion(Prompt prompt) if(latestVersion!=null && !latestVersion.equals(version)) { - prompt.alert(Prompt.Level.WARNING, "JMusicBot Version", String.format(NEW_VERSION_AVAILABLE, version, latestVersion)); + prompt.alert(Prompt.Level.WARNING, "ShiverFork Version", String.format(NEW_VERSION_AVAILABLE, version, latestVersion)); } }