added welcome-leave commands and updated activitytypes
This commit is contained in:
@@ -8,6 +8,8 @@ module.exports = (client) => {
|
||||
for (const file of commandFiles) {
|
||||
const filePath = path.join(commandsPath, file);
|
||||
const command = require(filePath);
|
||||
if (command.enabled === false) continue;
|
||||
|
||||
if (command.name) {
|
||||
client.commands.set(command.name, command);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user