Skip to content

Commit

Permalink
Removed selectMenu loader
Browse files Browse the repository at this point in the history
  • Loading branch information
imkuroneko committed Aug 10, 2023
1 parent b587d14 commit 3a74d81
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,6 @@ try {
console.error('[load:interactions:button]', error.message);
}

// Interactions :: Menus ===================================================================================================
try {
client.interactionsSelectMenu = new Collection();
var pathFiles = './interactions/selectMenu';
fs.readdirSync(pathFiles).forEach(folder => {
fs.readdirSync(`${pathFiles}/${folder}`).filter(file => file.endsWith('.js')).forEach((file) => {
client.interactionsSelectMenu.set(file.split(".")[0], require(path.resolve(path.join(`${pathFiles}/${folder}`, file))));
});
});
} catch(error) {
console.error('[load:interactions:menu]', error.message);
}

// Handle :: Events ========================================================================================================
try {
var pathFiles = './events';
Expand Down

0 comments on commit 3a74d81

Please sign in to comment.