Improve internal documentation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-20 18:11:00 +01:00
parent 044445890f
commit 33d81acc64
3 changed files with 25 additions and 8 deletions

View File

@@ -60,9 +60,9 @@ public class HidekoBot
shutdown(); // if we failed connecting and authenticating, then quit.
}
// find the bot's user id and generate an invite-link.
// find the bot's user/application id
String botUserId = jda.getSelfUser().getId();
Configuration.seBotUserId(botUserId);
Configuration.setBotApplicationId(botUserId);
// register listeners
jda.addEventListener(new MessageListener());