How to update the bot on sparked host #1653
Unanswered
Dragoncat91
asked this question in
Questions
Replies: 1 comment
-
If you feel like it you can download the source code from the release, edit the file: And comment out the following lines: if(latestVersion!=null && !currentVersion.equalsIgnoreCase(latestVersion))
{
String msg = String.format(OtherUtil.NEW_VERSION_AVAILABLE, currentVersion, latestVersion);
owner.openPrivateChannel().queue(pc -> pc.sendMessage(msg).queue());
} Then use maven to recompile the source code and take the full jar when it is built |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was here yesterday asking how to stop from getting update DMs, changed it to false and I still got another DM today. Whatever. I guess I'm updating it now. Last time I got sparked host staff to update it for me, but I'd like to know how to update it myself. What files do I replace, is it safe to delete old versions of said files etc.
Beta Was this translation helpful? Give feedback.
All reactions