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 22, 2024
1 parent 1ece748 commit 833b7b5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/Jobs/DiscordAccountCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,23 +190,23 @@ public function handle()
array_push($rolesToAdd, $staffRoleIDs['senior_staff']);
break;
case 'Deputy FIR Chief':
array_push($rolesToAdd, $discordRoleIds['deputy_oca_chief']);
array_push($rolesToAdd, $staffRoleIDs['deputy_oca_chief']);
array_push($rolesToAdd, $staffRoleIDs['senior_staff']);
break;
case 'Chief Instructor':
array_push($rolesToAdd, $discordRoleIds['chief_instructor']);
array_push($rolesToAdd, $staffRoleIDs['chief_instructor']);
array_push($rolesToAdd, $staffRoleIDs['senior_staff']);
break;
case 'Events and Marketing Director':
array_push($rolesToAdd, $discordRoleIds['events_marketing_director']);
array_push($rolesToAdd, $staffRoleIDs['events_marketing_director']);
array_push($rolesToAdd, $staffRoleIDs['senior_staff']);
break;
case 'Operations Director':
array_push($rolesToAdd, $discordRoleIds['operations_director']);
array_push($rolesToAdd, $staffRoleIDs['operations_director']);
array_push($rolesToAdd, $staffRoleIDs['senior_staff']);
break;
case 'IT Director':
array_push($rolesToAdd, $discordRoleIds['it_director']);
array_push($rolesToAdd, $staffRoleIDs['it_director']);
array_push($rolesToAdd, $staffRoleIDs['senior_staff']);
break;
}
Expand Down Expand Up @@ -269,7 +269,7 @@ public function handle()
$accounts_not_linked++; //records that Account Not Linked Role Assigned

sleep(2);

// add role
$discord->getClient()->put('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$discord_uid.'/roles/1297422968472997908');
}
Expand Down

0 comments on commit 833b7b5

Please sign in to comment.