mirror of
https://github.com/YGGverse/Pulsar.git
synced 2026-03-31 17:55:37 +00:00
add description and content lines
This commit is contained in:
parent
31a6703374
commit
b5788d0a4e
1 changed files with 14 additions and 0 deletions
|
|
@ -174,6 +174,20 @@ class Nex implements MessageComponentInterface
|
|||
$channelItem->title
|
||||
)
|
||||
);
|
||||
|
||||
if ($channelItem->description)
|
||||
{
|
||||
$lines[] = \Yggverse\Pulsar\Model\Filter::text(
|
||||
$channelItem->description
|
||||
) . PHP_EOL;
|
||||
}
|
||||
|
||||
if ($channelItem->content)
|
||||
{
|
||||
$lines[] = \Yggverse\Pulsar\Model\Filter::text(
|
||||
$channelItem->content
|
||||
) . PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
// Build response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue