Updated interfacecs
This commit is contained in:
@@ -22,7 +22,6 @@ import { Button } from "interfaces"
|
||||
export = {
|
||||
name: "checkstats",
|
||||
description: "Check your stats.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -21,7 +21,6 @@ import { getGuild } from "utils/Hypixel"
|
||||
export = {
|
||||
name: "guildapplicationaccept",
|
||||
description: "Accept a guild application.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -9,7 +9,6 @@ import { Button } from "interfaces"
|
||||
export = {
|
||||
name: "guildapplicationdeny",
|
||||
description: "Deny a guild application.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
const modal = new ModalBuilder()
|
||||
|
||||
@@ -19,7 +19,6 @@ import { Button } from "interfaces"
|
||||
export = {
|
||||
name: "guildapply",
|
||||
description: "Guild application button.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
const user = interaction.member as GuildMember
|
||||
|
||||
@@ -32,7 +32,6 @@ const guildRoles = [
|
||||
module.exports = {
|
||||
name: "guildinactivitylog",
|
||||
description: "Configure the bot.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
const guild = interaction.guild!
|
||||
|
||||
@@ -3,7 +3,6 @@ import { Button } from "interfaces"
|
||||
export = {
|
||||
name: "inactiveapplicationaccept",
|
||||
description: "Accept an inactivity application.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
await interaction.reply({
|
||||
|
||||
@@ -3,7 +3,6 @@ import { Button } from "interfaces"
|
||||
export = {
|
||||
name: "inactiveapplicationdeny",
|
||||
description: "Denies an inactivity application.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
await interaction.reply({
|
||||
|
||||
@@ -6,7 +6,6 @@ import { Button } from "interfaces"
|
||||
export = {
|
||||
name: "staffapplicationaccept",
|
||||
description: "Accept a staff application.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -9,7 +9,6 @@ import { Button } from "interfaces"
|
||||
export = {
|
||||
name: "staffapplicationdeny",
|
||||
description: "Deny a guild application.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
const modal = new ModalBuilder()
|
||||
|
||||
@@ -20,7 +20,6 @@ import env from "utils/Env"
|
||||
export = {
|
||||
name: "staffapply",
|
||||
description: "Apply for the staff team.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
const user = interaction.member as GuildMember
|
||||
|
||||
@@ -9,7 +9,6 @@ import { Button } from "interfaces"
|
||||
export = {
|
||||
name: "verify",
|
||||
description: "Configure the bot.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
const modal = new ModalBuilder()
|
||||
|
||||
@@ -6,7 +6,6 @@ import { Button } from "interfaces"
|
||||
export = {
|
||||
name: "waitinglistupdate",
|
||||
description: "Update the waiting list.",
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
await interaction.deferReply({ ephemeral: true })
|
||||
|
||||
Reference in New Issue
Block a user