globální klient

This commit is contained in:
Daniel Bulant 2021-10-24 15:32:29 +02:00
parent bafcc75b24
commit 208e2b8d8f

View file

@ -25,6 +25,8 @@ const client = new Commando.Client({
}
});
global.client = client;
client.on("commandError", (c, e) => {
console.error(e);
});