Updated interfacecs

This commit is contained in:
2024-01-18 15:34:55 +01:00
parent 4cfe877feb
commit 847a8663d8
71 changed files with 207 additions and 79 deletions

View File

@@ -3,13 +3,10 @@ import { Autocomplete } from "interfaces"
export = {
name: "unban",
description: "Unban a user from the server",
type: "autocomplete",
async execute(interaction) {
const focusedOption = interaction.options.getFocused(true)
if (focusedOption.name !== "user") {
return
}
if (focusedOption.name !== "user") return
if (focusedOption.value === "") {
await interaction.respond([