Compare commits
2 Commits
a18b34b784
...
d085a671c5
Author | SHA1 | Date | |
---|---|---|---|
d085a671c5 | |||
3cf8a1c92a |
@ -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()
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user