Different username in message from notice event handler than expected

I checked https://api.twitch.tv/helix/users?login=bryan1231

And the “notice” is reporting their display name rather than username/login

I’m unclear what the problem is you are reporting other than the notice using the display name (a few chat events do that see:

)

You might be interested in

or

to track ban/is ban/not ban
or the related eventsub topics.

But I’m not unclear what the problem is or what you want to get solved?