Closed matcool closed 5 years ago
Try logging the BOT_USERNAME and OAUTH_TOKEN to ensure they are being loaded by dotenv. (Or logging their type and length if you're squirmish about logging the raw values)
If that seems fine try enabling debug (new tmi.client({ options: { debug: true }, identity: { ... }, channels: [ ... ] })
)
This could also be a temporary outage of some Twitch system or bad tokens. (Missing scope or expired token)
Actual behaviour: When trying to do
client.say
, i just get an error saying "Cannot send anonymous messages"Expected behaviour: The message being sent
Code
Server configuration