Skip to content

Commit 4ac90d5

Browse files
authored
Fix MessageCouldNotBeSent exception
fix #29
1 parent 953feb6 commit 4ac90d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DiscordLogger/Discord/Embed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function toArray(): array
129129
'timestamp' => $this->timestamp,
130130
],
131131
static function ($value) {
132-
return $value !== null && $value !== [];
132+
return $value !== null && $value !== "" && $value !== [];
133133
});
134134
}
135135

0 commit comments

Comments
 (0)