Change: kubectl and service image
All checks were successful
Build image and deploy / release-image (push) Successful in 2m7s
Build image and deploy / deploy (push) Successful in 47s

This commit is contained in:
2024-10-18 16:42:19 +00:00
parent e7331498f4
commit a0fece2cf8
4 changed files with 9 additions and 34 deletions

View File

@@ -11,8 +11,8 @@ export async function loadCommands(client: ExtendedClient): Promise<Array<string
for(const folder of commandFolders){
const commandsPath = path.join(foldersPath, folder);
const commandsFiles = path.basename(__filename).endsWith('.ts')
? (await readdir(commandsPath)).filter(file => file.endsWith('.ts'))
: (await readdir(commandsPath)).filter(file => file.endsWith('.js'));
? (await readdir(commandsPath)).filter(file => file.endsWith('.ts'))
: (await readdir(commandsPath)).filter(file => file.endsWith('.js'));
for(const file of commandsFiles){
const filePath = path.join(commandsPath, file);
const data = await import(filePath);