<?php

use App\Jobs\SyncDiscordRoles;
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;

Artisan::command('inspire', function () {
    $this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');

// Keeps local Spatie roles in sync with each user's Discord guild roles.
Schedule::job(new SyncDiscordRoles)->hourly();
