Async
Parameters
- dir: string
Optionalprocess: (value: T) => T
OptionalbaseCollection: Collection<string, T>
Returns Promise<Collection<string, T>>
The collection of files
This is a generic loadDir, the one in main bot supercedes it
For main bot use, use the one in main bot
The directory to load