mirror of
https://github.com/YGGverse/Pulsar.git
synced 2025-03-13 05:41:21 +00:00
add description and content lines
This commit is contained in:
parent
31a6703374
commit
b5788d0a4e
@ -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…
x
Reference in New Issue
Block a user