Skip to content

Commit

Permalink
Update DiscordAccountCheck.php
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaMicallefYBSU committed Oct 25, 2024
1 parent 6bb5da0 commit 8319163
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Jobs/DiscordAccountCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function handle()
]);

foreach ($staffRoles as $role){
sleep(0.5);
sleep(0.75);

// add role
$discord->getClient()->put('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$discord_uid.'/roles/'.$role);
Expand Down Expand Up @@ -316,7 +316,7 @@ public function handle()

$accounts_not_linked++; //records that Account Not Linked Role Assigned

sleep(0.5);
sleep(0.75);

// // Update user with main roles - Will temp remove staff roles
$discord->getClient()->patch('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$user->discord_user_id, [
Expand Down

0 comments on commit 8319163

Please sign in to comment.