fix: wasnt giving users role on joining.
This commit is contained in:
parent
1e486d7a57
commit
7303b5782c
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ pub async fn get_server_member(db: &Pool<Sqlite>, server: &GuildId, member: &gui
|
|||
"#,
|
||||
)
|
||||
.bind(*server.as_u64() as i64)
|
||||
.bind(&member.user.name)
|
||||
.bind(*member.user.id.as_u64() as i64)
|
||||
.fetch_one(db)
|
||||
.await
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue