mirror of
https://github.com/JonasunderscoreJones/YetAnotherDiscordChatLink.git
synced 2025-10-22 16:29:19 +02:00
Update DiscordBot.java
This commit is contained in:
parent
c4f6e9f984
commit
3d9d0c94f6
1 changed files with 3 additions and 3 deletions
|
@ -112,11 +112,11 @@ public class DiscordBot extends ListenerAdapter {
|
|||
});
|
||||
|
||||
ServerLifecycleEvents.SERVER_STARTED.register(server -> {
|
||||
sendToDiscord("Server is started!");
|
||||
sendToDiscord("Server has started!");
|
||||
});
|
||||
|
||||
ServerLifecycleEvents.SERVER_STOPPED.register(server -> {
|
||||
sendToDiscord("Server is stopped!");
|
||||
sendToDiscord("Server has stopped!");
|
||||
stopBot();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue