Updated all files to new interfaces

This commit is contained in:
2024-02-16 16:03:04 +01:00
parent 137401630e
commit 769c3d12ed
77 changed files with 168 additions and 168 deletions

View File

@@ -1,15 +1,15 @@
import { Client, Collection, GatewayIntentBits, Partials } from "discord.js"
import color from "./functions/colors"
import { Command, ContextMenu, Button, Modal, Autocomplete } from "interfaces"
import { ICommand, IContextMenu, IButton, IModal, IAutocomplete } from "interfaces"
import env from "./Env"
import autoDeployCommands from "./Autodeploy"
export class ExtendedClient extends Client {
commands: Collection<string, Command> = new Collection()
contextmenus: Collection<string, ContextMenu> = new Collection()
buttons: Collection<string, Button> = new Collection()
modals: Collection<string, Modal> = new Collection()
autocomplete: Collection<string, Autocomplete> = new Collection()
commands: Collection<string, ICommand> = new Collection()
contextmenus: Collection<string, IContextMenu> = new Collection()
buttons: Collection<string, IButton> = new Collection()
modals: Collection<string, IModal> = new Collection()
autocomplete: Collection<string, IAutocomplete> = new Collection()
constructor() {
super({