* Added check and error reporting, if the logchannel is null.
All checks were successful
Build docker image / build_docker_image (push) Successful in 34s
All checks were successful
Build docker image / build_docker_image (push) Successful in 34s
This commit is contained in:
@@ -40,7 +40,11 @@ class Ready implements Init
|
||||
]);
|
||||
|
||||
// send start notice to the log channel
|
||||
if ($logChannel !== null) {
|
||||
$logChannel->sendMessage($message);
|
||||
} else {
|
||||
debug('LOG_CHANNEL is null ('. $logChannelID .')');
|
||||
}
|
||||
|
||||
// regiter RemainderService handler
|
||||
$loop = $discord->getLoop();
|
||||
|
||||
Reference in New Issue
Block a user