* Added check and error reporting, if the logchannel is null.
All checks were successful
Build docker image / build_docker_image (push) Successful in 34s

This commit is contained in:
2025-06-02 13:38:56 +02:00
parent 53540a687d
commit 91c33e59a2

View File

@@ -40,7 +40,11 @@ class Ready implements Init
]);
// send start notice to the log channel
$logChannel->sendMessage($message);
if ($logChannel !== null) {
$logChannel->sendMessage($message);
} else {
debug('LOG_CHANNEL is null ('. $logChannelID .')');
}
// regiter RemainderService handler
$loop = $discord->getLoop();