mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-06-07 15:39:30 +00:00
feat: add kick, mute, and unmute commands
This commit is contained in:
parent
49d274f2be
commit
20af09b279
8 changed files with 395 additions and 7 deletions
|
@ -133,6 +133,7 @@ export async function updateMember({
|
|||
discordUsername,
|
||||
currentlyInServer,
|
||||
currentlyBanned,
|
||||
currentlyMuted,
|
||||
}: schema.memberTableTypes): Promise<void> {
|
||||
try {
|
||||
await ensureDbInitialized();
|
||||
|
@ -147,6 +148,7 @@ export async function updateMember({
|
|||
discordUsername,
|
||||
currentlyInServer,
|
||||
currentlyBanned,
|
||||
currentlyMuted,
|
||||
})
|
||||
.where(eq(schema.memberTable.discordId, discordId));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue