diff --git a/app/Jobs/DiscordAccountCheck.php b/app/Jobs/DiscordAccountCheck.php index ddd29769..b65c37e8 100644 --- a/app/Jobs/DiscordAccountCheck.php +++ b/app/Jobs/DiscordAccountCheck.php @@ -71,7 +71,7 @@ public function handle() } // Add a Sleep Timer - Allows API to not block - sleep(2); + sleep(6); // Check if user is currently in Discord if (in_array($user->discord_user_id, $discord_uids)) { @@ -199,8 +199,6 @@ public function handle() foreach($discord_uids as $discord_uid){ $accounts_not_linked++; //records that Account Not Linked Role Assigned - sleep(3); - // add role $discord->getClient()->put('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$discord_uid.'/roles/1297422968472997908');