I am trying to make a bot for my twitch channel so i can do some things with arduino’s and the twitch api but the thing is that when i connect to my channel this happens
[2021-08-05T09:21:22.290Z] ❌ ircv3 ERROR Disconnected unexpectedly: [1006]
[2021-08-05T09:21:24.101Z] ⚠️ twitch-chat WARNING No valid token available; trying to refresh
(node:7636) UnhandledPromiseRejectionWarning: InvalidTokenError: Invalid token supplied
(node:7636) 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_rejections_mode). (rejection id: 16)
how can i fix this because i have a valid token but it says that i dont have a valid token