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

@@ -19,7 +19,7 @@ export default function loadModalEvents(client: Client, ft: FileType) {
const filePath = path.join(modalPath, file)
const modal: Modal = require(filePath)
if ("name" in modal && "execute" in modal && modal.type === "modal") {
if ("name" in modal && "execute" in modal) {
client.modals.set(modal.name, modal)
} else {
console.log(