fix undefined exists func

This commit is contained in:
SowinskiBraeden committed 2022-05-06 13:39:38 -07:00
1 parent c41849eb51
commit cd799a8974
5 files changed
+9 -10

No files matched your search

+1 -2
View File
@@ -103,7 +103,7 @@ class LinesPoliceCadBot extends Client {
});
}
exists(n){return null!=n&&null!=n&&""!=n}
exists(n) {return null != n && undefined != n && "" != n}
LoadCommands() {
let CommandsDir = path.join(__dirname, '..', 'commands');
@@ -245,7 +245,6 @@ class LinesPoliceCadBot extends Client {
Channel.send(embed);
}
build() {
this.login(this.config.Token);
}