Change language config enable all to null

This commit is contained in:
1computer1 2019-03-15 20:27:05 -04:00
parent b1ecae7841
commit 30f39622e8
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ class LanguageHandler extends AkairoHandler {
extensions = ['.js', '.ts'],
automateCategories,
loadFilter = filepath =>
!this.client.config.languages.length || this.client.config.languages.includes(path.parse(filepath).name)
!this.client.config.languages || this.client.config.languages.includes(path.parse(filepath).name)
}) {
super(client, {
directory,