Minor style change

This commit is contained in:
1computer1 2019-05-20 20:26:46 -04:00
parent de45491586
commit 7a2f87da3f

View file

@ -33,7 +33,9 @@ class LanguageHandler extends AkairoHandler {
for (let alias of language.aliases) {
const conflict = this.aliases.get(alias.toLowerCase());
if (conflict) throw new TypeError(`Alias conflict of ${alias} between ${language.id} and ${conflict}`);
if (conflict) {
throw new TypeError(`Alias conflict of ${alias} between ${language.id} and ${conflict}`);
}
alias = alias.toLowerCase();
this.aliases.set(alias, language.id);