feat: added teh user facing command

This commit is contained in:
silver 2024-03-03 13:59:23 +00:00
parent 0d0a50c84b
commit f417b9993a
2 changed files with 121 additions and 15 deletions

View file

@ -92,7 +92,7 @@ pub(crate) mod link {
.create_option(|option| option.name("email").description("UL Wolves Email").kind(CommandOptionType::String).required(true))
}
async fn get_server_member_discord(db: &Pool<Sqlite>, user: &UserId) -> Option<Wolves> {
pub async fn get_server_member_discord(db: &Pool<Sqlite>, user: &UserId) -> Option<Wolves> {
sqlx::query_as::<_, Wolves>(
r#"
SELECT *