Compare commits

...

2 Commits

Author SHA1 Message Date
d085a671c5 Update pause message
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-26 20:29:29 +02:00
3cf8a1c92a Lower invite-link logging delay 2022-08-26 20:29:10 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -84,8 +84,8 @@ public class HidekoBot
logger.log("Ready!\n\n" + logger.getLogo() + "\nv" + version + " - bot is ready!\n", 2); logger.log("Ready!\n\n" + logger.getLogo() + "\nv" + version + " - bot is ready!\n", 2);
// log the invite-link to console so noob users can just click on it. // log the invite-link to console so noob users can just click on it.
logger.log("Bot User ID: " + botUserId, 4); logger.log("Bot User ID: " + botUserId, 3);
logger.log("Invite Link: " + standardInviteLink, 5); logger.log("Invite Link: " + standardInviteLink, 4);
} }
public static JDA getAPI() public static JDA getAPI()

View File

@ -30,7 +30,7 @@ public class MessageListener extends ListenerAdapter
MessageChannel channel = event.getChannel(); MessageChannel channel = event.getChannel();
boolean paused = Configuration.isPaused(); boolean paused = Configuration.isPaused();
String msg = paused ? ":white_check_mark: Resuming normal activity!" : ":pause_button: Pausing!"; String msg = paused ? ":white_check_mark: Resuming normal activity!" : ":pause_button: Pausing operation!";
Configuration.setPaused(!paused); Configuration.setPaused(!paused);
channel.sendMessage(msg).queue(); channel.sendMessage(msg).queue();