Updated buttons and etc to components folder

This commit is contained in:
2024-01-03 19:52:17 +01:00
parent 1efecbc5a2
commit c566b0c632
19 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ import { FileType } from "../../typings"
const embedColor = Number(color.replace("#", "0x"))
export default function loadModalEvents(client: Client, ft: FileType) {
const modalPath = path.join(__dirname, "..", "..", "events", "modals")
const modalPath = path.join(__dirname, "..", "..", "components", "modals")
const modalFiles = fs
.readdirSync(modalPath)
.filter(file => file.endsWith(ft))