Skip to content

Commit

Permalink
im stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
uncreativeCultist committed Jul 11, 2024
1 parent 1dd03db commit a9cafad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/jagrosh/jmusicbot/BotConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public String getSearching()

public String getPiped()
{
return pipedURL;
return "NONE".equalsIgnoreCase(pipedURL) ? null : pipedURL;
}

public Activity getGame()
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/jagrosh/jmusicbot/JMusicBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ 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

0 comments on commit a9cafad

Please sign in to comment.