This commit is contained in:
parent
3cf8a1c92a
commit
d085a671c5
@ -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