mirror of
https://github.com/danbulant/ssps-bot
synced 2026-07-05 11:00:47 +00:00
globální klient
This commit is contained in:
parent
bafcc75b24
commit
208e2b8d8f
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
|
@ -25,6 +25,8 @@ const client = new Commando.Client({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
global.client = client;
|
||||||
|
|
||||||
client.on("commandError", (c, e) => {
|
client.on("commandError", (c, e) => {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue