Upgrade discord.js
All checks were successful
Test / build (push) Successful in 53s

This commit is contained in:
Ethan Lane 2025-06-19 19:14:40 +01:00
parent 983195c477
commit 2bf961d1e5
32 changed files with 88 additions and 106 deletions

View file

@ -1,4 +1,4 @@
import { AttachmentBuilder, CommandInteraction, SlashCommandBuilder } from "discord.js";
import { AttachmentBuilder, ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js";
import { Command } from "../type/command";
import { readFileSync } from "fs";
import { CoreClient } from "../client/client";
@ -23,7 +23,7 @@ export default class Drop extends Command {
.setDescription("Summon a new card drop");
}
public override async execute(interaction: CommandInteraction) {
public override async execute(interaction: ChatInputCommandInteraction) {
if (!CoreClient.AllowDrops) {
await interaction.reply(ErrorMessages.BotSyncing);
return;