fix: wasnt giving users role on joining.

This commit is contained in:
silver 2023-11-23 22:23:31 +00:00
parent 1e486d7a57
commit 7303b5782c

View file

@ -349,7 +349,7 @@ pub async fn get_server_member(db: &Pool<Sqlite>, server: &GuildId, member: &gui
"#, "#,
) )
.bind(*server.as_u64() as i64) .bind(*server.as_u64() as i64)
.bind(&member.user.name) .bind(*member.user.id.as_u64() as i64)
.fetch_one(db) .fetch_one(db)
.await .await
} }