A ritual has occurred in a channel, username is new to chat

You have linked to Documentation for A community-centric, community-supported version of tmi.js https://twitch-apis.github.io/twitch-js

It would seem there is a bug in that library.

Rituals are documented here:

They are issued as a USERNOTICE over chat.