mirror of
https://github.com/JonasunderscoreJones/YetAnotherDiscordChatLink.git
synced 2025-10-24 09:09:19 +02:00
Compare commits
2 commits
c4f6e9f984
...
942253f810
| Author | SHA1 | Date | |
|---|---|---|---|
| 942253f810 | |||
|
|
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();
|
||||
});
|
||||
}
|
||||
|
|
@ -168,4 +168,4 @@ public class DiscordBot extends ListenerAdapter {
|
|||
return "-";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue