Skip to content

Commit e193b6f

Browse files
authored
Update checks.rs
1 parent 3babd8c commit e193b6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/checks.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub async fn is_staff(ctx: Context<'_>) -> Result<bool, Error> {
5151
}
5252

5353
pub async fn needs_onboarding(ctx: Context<'_>) -> Result<bool, Error> {
54-
if sqlx::query!(
54+
/*if sqlx::query!(
5555
"SELECT COUNT(*) FROM staff_onboardings WHERE user_id = $1 AND void = false AND state = 'completed' AND NOW() - created_at < INTERVAL '1 month'",
5656
&ctx.author().id.to_string(),
5757
)
@@ -60,7 +60,7 @@ pub async fn needs_onboarding(ctx: Context<'_>) -> Result<bool, Error> {
6060
.count
6161
.unwrap_or(0) == 0 {
6262
return Err("You need to complete onboarding to use this command".into());
63-
}
63+
}*/
6464

6565
Ok(true)
6666
}

0 commit comments

Comments
 (0)