TypeError: Cannot read property 'setActivity' of null
at Object. (C:\Users\vital\Documents\BOT\index.js:73:13)
←[90m at Module._compile (internal/modules/cjs/loader.js:1151:30)←[39m
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:1000:32)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:899:14)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)←[39m
←[90m at internal/main/run_main_module.js:17:47←[39m
(node:8240) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'setActivity' of null
at C:\Users\vital\Documents\BOT\index.js:19:21
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:8240) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_reje... (rejection id: 1)
(node:8240) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.