Skip to content

Commit

Permalink
コンフィグでカスタム接頭語が設定されている場合に表示されるアラートを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
kosugikun committed Aug 10, 2024
1 parent c06abad commit 333af91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/jagrosh/jmusicbot/JMusicBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,12 @@ else if (config.getGame().getName().toLowerCase().matches("(none|なし)")) {
// other check that will just be a warning now but may be required in the future
// check if the user has changed the prefix and provide info about the
// message content intent
if(!"@mention".equals(config.getPrefix()))
/*if(!"@mention".equals(config.getPrefix()))
{
prompt.alert(Prompt.Level.INFO, "JMusicBot", "現在、カスタム接頭辞が設定されています。 "
+ "カスタム接頭辞が機能しない場合は、「MESSAGE CONTENT INTENT」が有効になっていることを確認してください。"
+ "https://discord.com/developers/applications/" + jda.getSelfUser().getId() + "/bot");
}
}*/

}
catch (InvalidTokenException ex) {
Expand Down

0 comments on commit 333af91

Please sign in to comment.