mirror of
https://github.com/arthur-pbty/gestion-perso.git
synced 2026-06-16 15:56:34 +02:00
add game command
This commit is contained in:
@@ -4,7 +4,6 @@ import path from 'path';
|
||||
|
||||
module.exports = function loadEvents(client: Client, dir: string): number {
|
||||
let count = 0;
|
||||
dir = `../${dir}`
|
||||
fs.readdirSync(path.join(__dirname, dir)).forEach((file: string) => {
|
||||
const filePath = path.join(__dirname, dir, file);
|
||||
if (fs.statSync(filePath).isDirectory()) {
|
||||
|
||||
Reference in New Issue
Block a user