From bba4e11e794be129266aa794d08142c304011db4 Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Tue, 22 Oct 2024 14:34:02 +1000 Subject: [PATCH] Update DiscordAccountCheck.php --- app/Jobs/DiscordAccountCheck.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Jobs/DiscordAccountCheck.php b/app/Jobs/DiscordAccountCheck.php index 19bebebc..00a29829 100644 --- a/app/Jobs/DiscordAccountCheck.php +++ b/app/Jobs/DiscordAccountCheck.php @@ -77,6 +77,8 @@ public function handle() $discord_uid = $user->discord_user_id; $in_discord++; + sleep(1); + // Get Discord Member Information $discord_member = $discord->getClient()->get('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$discord_uid); $discord_member = json_decode($discord_member->getBody(), true);