fix
This commit is contained in:
parent
54faa3460c
commit
160eb5f94b
@ -22,4 +22,4 @@ class SlackApiChannel
|
||||
"text" => $notification->toSlack($notifiable),
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,4 +52,4 @@ class Controller extends SlackController
|
||||
->withText(":x: Komenda `/{$this->request->command} {$this->request->text}` jest niepoprawna:")
|
||||
->withAttachments($errors->all());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,4 +8,4 @@ use Spatie\SlashCommand\Exceptions\SlackSlashCommandException;
|
||||
|
||||
class UserNotFoundException extends SlackSlashCommandException
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -32,4 +32,4 @@ class CatchAll extends BaseHandler
|
||||
->setFields($attachmentFields),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,4 +52,4 @@ class DailySummary extends SignatureHandler
|
||||
->withAttachment($remoteAttachment)
|
||||
->withAttachment($birthdayAttachment);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,4 +68,4 @@ class GiveKeysTo extends SignatureHandler
|
||||
"user.required" => "Musisz podać użytkownika, któremu chcesz przekazać klucze",
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,4 +30,4 @@ class Help extends SignatureHandler
|
||||
->setFields($attachmentFields),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,4 +42,4 @@ class HomeOffice extends SignatureHandler
|
||||
"flow_skipped" => false,
|
||||
], $user);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,4 +28,4 @@ class KeyList extends SignatureHandler
|
||||
->setText($keys->isNotEmpty() ? $keys->implode("\n") : "Nie ma żadnych kluczy w tobym"),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,4 +23,4 @@ abstract class SignatureHandler extends BaseSignatureHandler
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -67,4 +67,4 @@ class TakeKeysFrom extends SignatureHandler
|
||||
"user.required" => "Musisz podać użytkownika, któremu chcesz zabrać klucze",
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,4 +21,4 @@ class SlackUserExistsRule implements Rule
|
||||
{
|
||||
return "Użytkownik :input nie istnieje w tobym";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -40,4 +40,4 @@ trait FindsUserBySlackId
|
||||
{
|
||||
return Str::between($slackId, "<@", "|");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,4 +42,4 @@ trait ListsHandlers
|
||||
)
|
||||
->all();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user