Skip to content

Commit

Permalink
Fix startup message type and add URL to message (jagrosh#1521)
Browse files Browse the repository at this point in the history
* fix

* add URL to error message
  • Loading branch information
jagrosh authored Mar 30, 2024
1 parent 7edd0ed commit bb014c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/jagrosh/jmusicbot/utils/OtherUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ public static String getUnsupportedBotReason(JDA jda)

ApplicationInfo info = jda.retrieveApplicationInfo().complete();
if (info.isBotPublic())
return "\"Public Bot\" is enabled. Using JMusicBot as a public bot is not supported. Please disable it in the Developer Dashboard.";
return "\"Public Bot\" is enabled. Using JMusicBot as a public bot is not supported. Please disable it in the "
+ "Developer Dashboard at https://discord.com/developers/applications/" + jda.getSelfUser().getId() + "/bot.";

return null;
}
Expand Down

0 comments on commit bb014c2

Please sign in to comment.