Closed KaindlJulian closed 5 years ago
Commands are dynamically added to our BotClient
. Current implementation uses Typescript modules and a barrel file (index.ts
) for all commands which then get imported and we add a new instance of each Command to the Collection.
This solution works fine, hence the close, but if one forgets to add a new commands class to the barrel file it wont be added to the collection.
Resources