mirror of
https://github.com/supleed2/nanobot.git
synced 2024-12-22 22:25:51 +00:00
Temporarily disable welcome message
Many users will be re-verifying now
This commit is contained in:
parent
8ef1e876d3
commit
b83f28a01c
|
@ -255,20 +255,20 @@ pub(crate) async fn login_6(
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.await?;
|
.await?;
|
||||||
data.gn_ch_id
|
// data.gn_ch_id
|
||||||
.send_message(&ctx.http, |cm| {
|
// .send_message(&ctx.http, |cm| {
|
||||||
cm.content(format!(
|
// cm.content(format!(
|
||||||
"Welcome to ICAS {}, if you have any questions, feel free \
|
// "Welcome to ICAS {}, if you have any questions, feel free \
|
||||||
to ping a committee member{}!",
|
// to ping a committee member{}!",
|
||||||
m.user,
|
// m.user,
|
||||||
if fresher {
|
// if fresher {
|
||||||
", and look out for other freshers in green"
|
// ", and look out for other freshers in green"
|
||||||
} else {
|
// } else {
|
||||||
""
|
// ""
|
||||||
}
|
// }
|
||||||
))
|
// ))
|
||||||
})
|
// })
|
||||||
.await?;
|
// .await?;
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
eprintln!("Error: {e}");
|
eprintln!("Error: {e}");
|
||||||
|
|
|
@ -257,20 +257,20 @@ pub(crate) async fn manual_4(
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.await?;
|
.await?;
|
||||||
data.gn_ch_id
|
// data.gn_ch_id
|
||||||
.send_message(&ctx.http, |cm| {
|
// .send_message(&ctx.http, |cm| {
|
||||||
cm.content(format!(
|
// cm.content(format!(
|
||||||
"Welcome to ICAS {}, if you have any questions, feel free \
|
// "Welcome to ICAS {}, if you have any questions, feel free \
|
||||||
to ping a committee member{}!",
|
// to ping a committee member{}!",
|
||||||
user,
|
// user,
|
||||||
if fresher {
|
// if fresher {
|
||||||
", and look out for other freshers in green"
|
// ", and look out for other freshers in green"
|
||||||
} else {
|
// } else {
|
||||||
""
|
// ""
|
||||||
}
|
// }
|
||||||
))
|
// ))
|
||||||
})
|
// })
|
||||||
.await?;
|
// .await?;
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
eprintln!("Error: {e}");
|
eprintln!("Error: {e}");
|
||||||
|
|
|
@ -181,20 +181,20 @@ pub(crate) async fn membership_3(
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.await?;
|
.await?;
|
||||||
data.gn_ch_id
|
// data.gn_ch_id
|
||||||
.send_message(&ctx.http, |cm| {
|
// .send_message(&ctx.http, |cm| {
|
||||||
cm.content(format!(
|
// cm.content(format!(
|
||||||
"Welcome to ICAS {}, if you have any questions, feel free \
|
// "Welcome to ICAS {}, if you have any questions, feel free \
|
||||||
to ping a committee member{}!",
|
// to ping a committee member{}!",
|
||||||
m.user,
|
// m.user,
|
||||||
if fresher {
|
// if fresher {
|
||||||
", and look out for other freshers in green"
|
// ", and look out for other freshers in green"
|
||||||
} else {
|
// } else {
|
||||||
""
|
// ""
|
||||||
}
|
// }
|
||||||
))
|
// ))
|
||||||
})
|
// })
|
||||||
.await?;
|
// .await?;
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue