Skip to content

Commit

Permalink
"UnsupportedBot" will always return null.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaGamo authored Jan 2, 2025
1 parent c5b8606 commit 891483b
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 @@ -218,6 +218,7 @@ public static String getLatestVersion()
*/
public static String getUnsupportedBotReason(JDA jda)
{
/*
if (jda.getSelfUser().getFlags().contains(User.UserFlag.VERIFIED_BOT))
return "The bot is verified. Using JMusicBot in a verified bot is not supported.";
Expand All @@ -227,7 +228,7 @@ public static String getUnsupportedBotReason(JDA jda)
+ "Developer Dashboard at https://discord.com/developers/applications/" + jda.getSelfUser().getId() + "/bot ."
+ "You may also need to disable all Installation Contexts at https://discord.com/developers/applications/"
+ jda.getSelfUser().getId() + "/installation .";

*/
return null;
}
}

0 comments on commit 891483b

Please sign in to comment.