Skip to content

Commit

Permalink
redo
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrihamelin committed Jul 5, 2024
1 parent e356946 commit 6d3ccd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions fr/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ client.login(Token).then(console.log("Support FR qui marche")).catch((err) => {c



let eventFiles = readdirSync('fr/croxydb/').filter(file => file.endsWith('.js')); //here
let eventFiles = readdirSync('/Users/dimitrihamelin/github/Bot-Discord/fr/croxydb').filter(file => file.endsWith('.js')); //here

for (let file of eventFiles) {
let event = require(`fr/croxydb/${file}`); //here
let event = require(`/Users/dimitrihamelin/github/Bot-Discord/fr/croxydb/${file}`); //here
if (event.once) {
client.once(event.name, (...args) => event.execute(...args));
} else {
Expand Down

0 comments on commit 6d3ccd2

Please sign in to comment.