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

**URL:** <https://staging-discuss.dev.twitch.com/t/a-ritual-has-occurred-in-a-channel-username-is-new-to-chat/17136>\
**Category:** API\
**Created:** [August 15, 2018, 5:12am UTC](https://staging-discuss.dev.twitch.com/t/a-ritual-has-occurred-in-a-channel-username-is-new-to-chat/17136 "2018-08-15T05:12:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevUser](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/devuser/32/7344_2.png) [@DevUser](https://staging-discuss.dev.twitch.com/u/DevUser)\
**Post date:** [August 15, 2018, 5:12am UTC](https://staging-discuss.dev.twitch.com/t/a-ritual-has-occurred-in-a-channel-username-is-new-to-chat/17136/1 "2018-08-15T05:12:37Z")

</div>

I’m using TwitchJS for a chat bot. This event does not work for me. I’ve had new people enter my stream but this event never gets triggered.

> <https://github.com/twitch-apis/twitch-js/blob/HEAD/docs/Chat/Events.md#ritual>

Is this a bug or is this event no longer support?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [August 15, 2018, 8:13am UTC](https://staging-discuss.dev.twitch.com/t/a-ritual-has-occurred-in-a-channel-username-is-new-to-chat/17136/2 "2018-08-15T08:13:50Z")

</div>

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:

> **[Twitch IRC Tags](https://dev.twitch.tv/docs/irc/tags/#usernotice-twitch-tags)**
>
> Twitch IRC Tags Most IRC messages provide enough information that you can figure out what happened. For example, in the following PRIVMSG message, you know that user abc posted HeyGuys in the xyz channel. :abc!abc@abc.tmi.twitch.tv PRIVMSG #xyz...

They are issued as a USERNOTICE over chat.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [September 14, 2018, 8:13am UTC](https://staging-discuss.dev.twitch.com/t/a-ritual-has-occurred-in-a-channel-username-is-new-to-chat/17136/3 "2018-09-14T08:13:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
