mirror of
https://github.com/YGGverse/Pulsar.git
synced 2026-04-01 18:25:31 +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
|
$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
|
// Build response
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue