mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-14 04:33:05 +00:00
Updated User-Info Command
This commit is contained in:
parent
82f354db1c
commit
84738bb752
5 changed files with 76 additions and 31 deletions
|
@ -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));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue