diff --git a/src/Entities/Message.php b/src/Entities/Message.php index c7c8b3d7..4c86d660 100644 --- a/src/Entities/Message.php +++ b/src/Entities/Message.php @@ -136,7 +136,7 @@ protected function subEntities(): array */ public function getFullCommand(): ?string { - $text = $this->getProperty('text'); + $text = $this->getProperty('text') ?? ''; if (strpos($text, '/') !== 0) { return null; }