fix undefined exists func
This commit is contained in:
1 parent
c41849eb51
commit
cd799a8974
5 files changed
+9
-10
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user