Update DiscordBot.java

This commit is contained in:
Teal 2024-10-08 09:34:35 -04:00 committed by GitHub
parent c4f6e9f984
commit 3d9d0c94f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();
});
}