Skip to content

Commit

Permalink
Merge pull request #376 from czqoocavatsim/JoshuaBranch
Browse files Browse the repository at this point in the history
Update DiscordAccountCheck.php
  • Loading branch information
JoshuaMicallefYBSU authored Oct 22, 2024
2 parents b8fc0d2 + 833b7b5 commit 3702b18
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 3702b18

Please sign in to comment.