pleb alert!

This commit is contained in:
Benjamin Takats
2023-01-18 23:01:27 +01:00
parent 7bd3efbabc
commit e92fa90962
26 changed files with 3461 additions and 2204 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Listeners;
use App\Events\PlebLoggedInEvent;
use App\Gamify\Points\LoggedIn;
class AddLoginReputation
@@ -25,5 +26,6 @@ class AddLoginReputation
public function handle($event)
{
$event->user->givePoint(new LoggedIn($event->user));
event(new PlebLoggedInEvent($event->user->name));
}
}