X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FConsole%2FCommands%2FSyncSpeedGaming.php;h=eaaa4fa48e7ccb5989d0c4ca29218ed3c80857c5;hb=343b423a42670ec21cdb95025020264346ad62fb;hp=d75da5078bfea496aea043793149395154959b61;hpb=4dc1bbd62acf0c18100f4276d26fc87be8968f28;p=alttp.git diff --git a/app/Console/Commands/SyncSpeedGaming.php b/app/Console/Commands/SyncSpeedGaming.php index d75da50..eaaa4fa 100644 --- a/app/Console/Commands/SyncSpeedGaming.php +++ b/app/Console/Commands/SyncSpeedGaming.php @@ -301,7 +301,7 @@ class SyncSpeedGaming extends Command { $tag = explode('#', $player['discordTag']); $user = User::firstWhere([ ['username', 'LIKE', $tag[0]], - ['username', 'LIKE', $tag[1]], + ['discriminator', '=', $tag[1]], ]); if ($user) return $user; }