Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and github-actions[bot] committed Jul 28, 2023
1 parent ad2feaf commit 68bcafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DiscordAlert.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function message(string $text, array $embeds = []): void
if (array_key_exists('description', $embed)) {
$embeds[$key]['description'] = $this->parseNewline($embeds[$key]['description']);
}

if (array_key_exists('color', $embed)) {
$embeds[$key]['color'] = hexdec(str_replace('#', '', $embed['color'])) ;
}
Expand Down

0 comments on commit 68bcafd

Please sign in to comment.