Remove calls to new Block that were missed from #b2cd5c7
This commit is contained in:
parent
3a7f411020
commit
b0c3897e45
@ -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')
|
||||
|
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user