Ran yarn format
This commit is contained in:
@@ -7,9 +7,7 @@ import { FileType } from "../../typings"
|
||||
|
||||
export default function loadButtonEvents(client: Client, ft: FileType) {
|
||||
const btnPath = path.join(__dirname, "..", "..", "events", "buttons")
|
||||
const btnFiles = fs
|
||||
.readdirSync(btnPath)
|
||||
.filter(file => file.endsWith(ft))
|
||||
const btnFiles = fs.readdirSync(btnPath).filter(file => file.endsWith(ft))
|
||||
|
||||
for (const file of btnFiles) {
|
||||
const filePath = path.join(btnPath, file)
|
||||
@@ -46,4 +44,4 @@ export default function loadButtonEvents(client: Client, ft: FileType) {
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user