diff --git a/app/Jobs/DiscordAccountCheck.php b/app/Jobs/DiscordAccountCheck.php index 2bef897f..cd0f64ca 100644 --- a/app/Jobs/DiscordAccountCheck.php +++ b/app/Jobs/DiscordAccountCheck.php @@ -243,7 +243,7 @@ public function handle() $discord->getClient()->patch('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$user->discord_user_id, [ 'json' => [ 'nick' => $name, - 'roles' => $discord_roles, + 'roles' => $rolesToAdd, ] ]);