Skip to content

Commit

Permalink
Finale Fixes (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilliepad1 committed Jul 11, 2024
1 parent 1c336ff commit 6ef9581
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
8 changes: 1 addition & 7 deletions src/main/java/com/jagrosh/jmusicbot/BotConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -275,11 +274,6 @@ public String getSearching()
return searchingEmoji;
}

public String getPiped()
{
return "NONE";
}

public Activity getGame()
{
return game;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/jagrosh/jmusicbot/JMusicBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/jagrosh/jmusicbot/utils/OtherUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
Expand Down Expand Up @@ -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));
}
}

Expand Down

0 comments on commit 6ef9581

Please sign in to comment.