6.0.0 code refactor

This commit is contained in:
SowinskiBraeden committed 2023-04-03 16:59:30 -07:00
1 parent ecdd3d649f
commit 4abad2cd1a
12 files changed
+524 -417

No files matched your search

+2 -2
View File
@@ -9,7 +9,7 @@ const { REST } = require('@discordjs/rest');
*/
module.exports = {
// Register guild commands
RegisterGuildCommands: async function(client, guild) {
RegisterGuildCommands: async (client, guild) => {
const commands = [];
const commandFiles = fs.readdirSync(path.join(__dirname, "..", "commands")).filter(file => file.endsWith('.js'));
@@ -39,7 +39,7 @@ module.exports = {
},
// Register global commands
RegisterGlobalCommands: async function(client) {
RegisterGlobalCommands: async (client) => {
const commands = [];
const commandFiles = fs.readdirSync(path.join(__dirname, "..", "commands")).filter(file => file.endsWith('.js'));