We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3babd8c commit e193b6fCopy full SHA for e193b6f
src/checks.rs
@@ -51,7 +51,7 @@ pub async fn is_staff(ctx: Context<'_>) -> Result<bool, Error> {
51
}
52
53
pub async fn needs_onboarding(ctx: Context<'_>) -> Result<bool, Error> {
54
- if sqlx::query!(
+ /*if sqlx::query!(
55
"SELECT COUNT(*) FROM staff_onboardings WHERE user_id = $1 AND void = false AND state = 'completed' AND NOW() - created_at < INTERVAL '1 month'",
56
&ctx.author().id.to_string(),
57
)
@@ -60,7 +60,7 @@ pub async fn needs_onboarding(ctx: Context<'_>) -> Result<bool, Error> {
60
.count
61
.unwrap_or(0) == 0 {
62
return Err("You need to complete onboarding to use this command".into());
63
- }
+ }*/
64
65
Ok(true)
66
0 commit comments