Skip to content

Commit

Permalink
make version check point towards fork repo
Browse files Browse the repository at this point in the history
  • Loading branch information
uncreativeCultist committed Jul 10, 2024
1 parent 1ecf891 commit 8b950e7
Showing 1 changed file with 2 additions and 2 deletions.
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 @@ -43,7 +43,7 @@ public class OtherUtil
public final static String NEW_VERSION_AVAILABLE = "There is a new version of JMusicBot available!\n"
+ "Current version: %s\n"
+ "New Version: %s\n\n"
+ "Please visit https://github.com/jagrosh/MusicBot/releases/latest to get the latest release.";
+ "Please visit https://github.com/lilliepad1/MusicBotShiverFork/releases/latest to get the latest release.";
private final static String WINDOWS_INVALID_PATH = "c:\\windows\\system32\\";

/**
Expand Down Expand Up @@ -188,7 +188,7 @@ public static String getLatestVersion()
try
{
Response response = new OkHttpClient.Builder().build()
.newCall(new Request.Builder().get().url("https://api.github.com/repos/jagrosh/MusicBot/releases/latest").build())
.newCall(new Request.Builder().get().url("https://api.github.com/repos/lilliepad1/MusicBot/MusicBotShiverFork/latest").build())
.execute();
ResponseBody body = response.body();
if(body != null)
Expand Down

0 comments on commit 8b950e7

Please sign in to comment.