Updated User-Info Command

This commit is contained in:
Ahmad 2024-12-15 18:18:09 -05:00
parent 82f354db1c
commit 84738bb752
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
5 changed files with 76 additions and 31 deletions

View file

@ -43,3 +43,7 @@ export async function setMembers(nonBotMembers: any) {
export async function removeMember(discordId: string) {
await db.delete(memberTable).where(eq(memberTable.discordId, discordId));
}
export async function getMember(discordId: string) {
return await db.select().from(memberTable).where(eq(memberTable.discordId, discordId));
}