Temporarily disable welcome message

Many users will be re-verifying now
This commit is contained in:
Aadi Desai 2023-09-24 16:32:06 +01:00
parent 8ef1e876d3
commit b83f28a01c
Signed by: supleed2
SSH key fingerprint: SHA256:CkbNRs0yVzXEiUp2zd0PSxsfRUMFF9bLlKXtE1xEbKM
3 changed files with 42 additions and 42 deletions

View file

@ -255,20 +255,20 @@ pub(crate) async fn login_6(
})
})
.await?;
data.gn_ch_id
.send_message(&ctx.http, |cm| {
cm.content(format!(
"Welcome to ICAS {}, if you have any questions, feel free \
to ping a committee member{}!",
m.user,
if fresher {
", and look out for other freshers in green"
} else {
""
}
))
})
.await?;
// data.gn_ch_id
// .send_message(&ctx.http, |cm| {
// cm.content(format!(
// "Welcome to ICAS {}, if you have any questions, feel free \
// to ping a committee member{}!",
// m.user,
// if fresher {
// ", and look out for other freshers in green"
// } else {
// ""
// }
// ))
// })
// .await?;
}
Err(e) => {
eprintln!("Error: {e}");

View file

@ -257,20 +257,20 @@ pub(crate) async fn manual_4(
})
})
.await?;
data.gn_ch_id
.send_message(&ctx.http, |cm| {
cm.content(format!(
"Welcome to ICAS {}, if you have any questions, feel free \
to ping a committee member{}!",
user,
if fresher {
", and look out for other freshers in green"
} else {
""
}
))
})
.await?;
// data.gn_ch_id
// .send_message(&ctx.http, |cm| {
// cm.content(format!(
// "Welcome to ICAS {}, if you have any questions, feel free \
// to ping a committee member{}!",
// user,
// if fresher {
// ", and look out for other freshers in green"
// } else {
// ""
// }
// ))
// })
// .await?;
}
Err(e) => {
eprintln!("Error: {e}");

View file

@ -181,20 +181,20 @@ pub(crate) async fn membership_3(
})
})
.await?;
data.gn_ch_id
.send_message(&ctx.http, |cm| {
cm.content(format!(
"Welcome to ICAS {}, if you have any questions, feel free \
to ping a committee member{}!",
m.user,
if fresher {
", and look out for other freshers in green"
} else {
""
}
))
})
.await?;
// data.gn_ch_id
// .send_message(&ctx.http, |cm| {
// cm.content(format!(
// "Welcome to ICAS {}, if you have any questions, feel free \
// to ping a committee member{}!",
// m.user,
// if fresher {
// ", and look out for other freshers in green"
// } else {
// ""
// }
// ))
// })
// .await?;
return Ok(());
}
}