I have revoked your leaked access token
NEVER post your oAuth token publically.
For TMI.js please refer to the TMI.js documentation
Which provides the following example
client.on('message', (channel, tags, message, self) => {
// "Alca: Hello, World!"
console.log(`${tags['display-name']}: ${message}`);
});
Use either
tags.username
or
tags['display-name']}
as needed