Remove calls to new Block that were missed from #b2cd5c7

This commit is contained in:
Deon George 2022-02-01 08:57:35 +11:00
parent 3a7f411020
commit b0c3897e45
2 changed files with 0 additions and 3 deletions

View File

@ -58,8 +58,6 @@ abstract class Base extends SlackBase
$o = new Message;
if (! $this->channel() || ! $this->channel()->active) {
$blocks = new Blocks;
$o->addAttachment(
Message\Attachment::item()
->title(':robot_face: Bot not in this channel')

View File

@ -27,7 +27,6 @@ class ShortcutListener //implements ShouldQueue
{
if (! $event->channel() || ! $event->channel()->active) {
$modal = new Modal(Text::item(config('app.name'),'plain_text'));
$blocks = new Blocks;
$modal->addBlock(
Header::item(Text::item(':robot_face: Bot not in this channel','plain_text'))