# Chat and IRC

**URL:** https://discuss.dev.twitch.com/c/chat/3.md?page=3

[Latest](https://discuss.dev.twitch.com/latest.md) · [Categories](https://discuss.dev.twitch.com/categories.md)

**Page:** 4

---

## [Unable to connect to Twitch Chat with OAuth Token](https://discuss.dev.twitch.com/t/unable-to-connect-to-twitch-chat-with-oauth-token/52711)

<div class="topic-metadata">

**Author:** [@ogjunkyard](https://discuss.dev.twitch.com/u/ogjunkyard)\
**Replies:** 2\
**Last updated:** [December 19, 2023, 10:14am UTC](https://discuss.dev.twitch.com/t/unable-to-connect-to-twitch-chat-with-oauth-token/52711 "2023-12-19T10:14:09Z")

</div>

I’m working on code for a chatbot application for broadcasters that would ideally be able to send messages to the broadcaster’s channel as the broadcaster. My application currently uses the OAuth Authorization Code Gran…

---

## [Loosing chat capabilities after making extension live](https://discuss.dev.twitch.com/t/loosing-chat-capabilities-after-making-extension-live/52057)

<div class="topic-metadata">

**Author:** [@spring\_twitch\_dev](https://discuss.dev.twitch.com/u/spring_twitch_dev)\
**Replies:** 2\
**Last updated:** [December 5, 2023, 3:19pm UTC](https://discuss.dev.twitch.com/t/loosing-chat-capabilities-after-making-extension-live/52057 "2023-12-05T15:19:57Z")

</div>

Hi, we have a extension with chat capabilities that while in developing status (Local and Hosted Test statuses) was working fine. Once approved and released, as a user using the extension I can not toggle the “This exte…

---

## [Websocket reconnection question](https://discuss.dev.twitch.com/t/websocket-reconnection-question/51406)

<div class="topic-metadata">

**Author:** [@Xikini](https://discuss.dev.twitch.com/u/Xikini)\
**Replies:** 4\
**Last updated:** [November 22, 2023, 10:42pm UTC](https://discuss.dev.twitch.com/t/websocket-reconnection-question/51406 "2023-11-22T22:42:15Z")

</div>

Main Question: How do I have no downtime for the bot? When a token expires and I have to refresh it, I seem to also need to close the websocket connection and reopen it with the new oAuth token. Generally my flow is c…

---

## [Unable to send Whispers to some users](https://discuss.dev.twitch.com/t/unable-to-send-whispers-to-some-users/51005)

<div class="topic-metadata">

**Author:** [@catbot\_tsumi](https://discuss.dev.twitch.com/u/catbot_tsumi)\
**Replies:** 1\
**Last updated:** [November 18, 2023, 3:07pm UTC](https://discuss.dev.twitch.com/t/unable-to-send-whispers-to-some-users/51005 "2023-11-18T15:07:45Z")

</div>

My bot account has been unable to send a lot of my viewers whispers. (though some other viewers receive its whispers fine.) The API responds with HTTP 204 as usual, but the messages get silently dropped. Maybe twitch thi…

---

## [Sending a Chat notification](https://discuss.dev.twitch.com/t/sending-a-chat-notification/50206)

<div class="topic-metadata">

**Author:** [@Crowse](https://discuss.dev.twitch.com/u/Crowse)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 1:35pm UTC](https://discuss.dev.twitch.com/t/sending-a-chat-notification/50206 "2023-11-17T13:35:48Z")

</div>

Hello, Wondering if anyone more knowlegable than myself could provide something i might be missing. I am trying to build a feature into my application backend that will send a Chat message to broadcaster channel, when …

---

## [Keepalive question for Serverless Chatbot](https://discuss.dev.twitch.com/t/keepalive-question-for-serverless-chatbot/49857)

<div class="topic-metadata">

**Author:** [@palmettobling1](https://discuss.dev.twitch.com/u/palmettobling1)\
**Replies:** 1\
**Last updated:** [October 30, 2023, 4:54pm UTC](https://discuss.dev.twitch.com/t/keepalive-question-for-serverless-chatbot/49857 "2023-10-30T16:54:19Z")

</div>

Howdy, I’m looking into transitioning my chatbot to a serverless model, and I’m curious if there is a constant or flex rate that the keepalive messages are sent for websocket chat connections? The documentation does no…

---

## [Link Preview in chat and whisper](https://discuss.dev.twitch.com/t/link-preview-in-chat-and-whisper/48937)

<div class="topic-metadata">

**Author:** [@gegham.mev](https://discuss.dev.twitch.com/u/gegham.mev)\
**Replies:** 1\
**Last updated:** [October 16, 2023, 10:27am UTC](https://discuss.dev.twitch.com/t/link-preview-in-chat-and-whisper/48937 "2023-10-16T10:27:49Z")

</div>

When I send a link in chat or whisper twitch does not render a preview for a link like other social media platforms do. Twitch does not support previews for links or metatags for Twtich are different?

---

## [Detective Pikachu Returns is not a Category](https://discuss.dev.twitch.com/t/detective-pikachu-returns-is-not-a-category/48664)

<div class="topic-metadata">

**Author:** [@Casal\_A](https://discuss.dev.twitch.com/u/Casal_A)\
**Replies:** 1\
**Last updated:** [October 12, 2023, 4:58pm UTC](https://discuss.dev.twitch.com/t/detective-pikachu-returns-is-not-a-category/48664 "2023-10-12T16:58:45Z")

</div>

Detective Pikachu Returns Launched in October 6, 2023 for Switch is the sequence of Detective Pikachu launched in February 3, 2016 for Nintendo 3DS, and I will stream it, but when I tried to select the game for the categ…

---

## [PRIVMSG #\<channel\> :/ban \<user\> \<reason\> doesn't seem to work?](https://discuss.dev.twitch.com/t/privmsg-channel-ban-user-reason-doesnt-seem-to-work/47420)

<div class="topic-metadata">

**Author:** [@romeehkoning](https://discuss.dev.twitch.com/u/romeehkoning)\
**Replies:** 1\
**Last updated:** [September 16, 2023, 12:08pm UTC](https://discuss.dev.twitch.com/t/privmsg-channel-ban-user-reason-doesnt-seem-to-work/47420 "2023-09-16T12:08:32Z")

</div>

Hey guys, i am working on a bot that bans a list of users. the console.log on line 56 gives me exactly the result that i would expect. the code on line 55 is shown in my chat correctly, but when i add ‘/ban’ in fron…

---

## [Embed chat from video to website](https://discuss.dev.twitch.com/t/embed-chat-from-video-to-website/47074)

<div class="topic-metadata">

**Author:** [@flafina21](https://discuss.dev.twitch.com/u/flafina21)\
**Replies:** 3\
**Last updated:** [August 29, 2023, 11:55am UTC](https://discuss.dev.twitch.com/t/embed-chat-from-video-to-website/47074 "2023-08-29T11:55:47Z")

</div>

Hey everyone, I am embedding chat streams on my site using an iframe. How can I embed or get a chat of a completed broadcast or uploaded video?

---

## [Bot uses own channel emotes](https://discuss.dev.twitch.com/t/bot-uses-own-channel-emotes/47026)

<div class="topic-metadata">

**Author:** [@Guendi](https://discuss.dev.twitch.com/u/Guendi)\
**Replies:** 8\
**Last updated:** [August 23, 2023, 10:06pm UTC](https://discuss.dev.twitch.com/t/bot-uses-own-channel-emotes/47026 "2023-08-23T22:06:39Z")

</div>

Is it possible to let the bot using own channel emotes without sub?

---

## [Possible chat bot](https://discuss.dev.twitch.com/t/possible-chat-bot/46996)

<div class="topic-metadata">

**Author:** [@RichTatMan](https://discuss.dev.twitch.com/u/RichTatMan)\
**Replies:** 8\
**Last updated:** [August 22, 2023, 12:46am UTC](https://discuss.dev.twitch.com/t/possible-chat-bot/46996 "2023-08-22T00:46:23Z")

</div>

Hello I’m wondering if possible to create a simple input and response bot that has multiple accounts that can respond to a single command entry in my chat. Example here if my question doesn’t make sense. I want to ope…

---

## [mIRC /color change error](https://discuss.dev.twitch.com/t/mirc-color-change-error/46977)

<div class="topic-metadata">

**Author:** [@fluxtv3](https://discuss.dev.twitch.com/u/fluxtv3)\
**Replies:** 1\
**Last updated:** [August 19, 2023, 11:02am UTC](https://discuss.dev.twitch.com/t/mirc-color-change-error/46977 "2023-08-19T11:02:10Z")

</div>

I get an error when trying to change my username color to a hex code (with prime) through mIRC, this used to work normally. Anyone know a fix? /color: insufficient parameters

---

## [My chats aren't showing up in the twitch chat](https://discuss.dev.twitch.com/t/my-chats-arent-showing-up-in-the-twitch-chat/46808)

<div class="topic-metadata">

**Author:** [@Da2oonz](https://discuss.dev.twitch.com/u/Da2oonz)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 8:37am UTC](https://discuss.dev.twitch.com/t/my-chats-arent-showing-up-in-the-twitch-chat/46808 "2023-08-08T08:37:16Z")

</div>

I was in a streamers chat and they were showing up as usual and normally they were working perfectly then all of a sudden i couldnt see them the mods have done something to block my messages from the streamer from see…

---

## [Chat announcements not converting mentions (@\<user\>) to link](https://discuss.dev.twitch.com/t/chat-announcements-not-converting-mentions-user-to-link/46786)

<div class="topic-metadata">

**Author:** [@MrR3dL1ne](https://discuss.dev.twitch.com/u/MrR3dL1ne)\
**Replies:** 2\
**Last updated:** [August 6, 2023, 8:58pm UTC](https://discuss.dev.twitch.com/t/chat-announcements-not-converting-mentions-user-to-link/46786 "2023-08-06T20:58:00Z")

</div>

Hi All, Making sure I’m not doing something wrong here, but is it by design that we’re not able to tag/mention users in announcements (/announce) ? One would think that should work just like chat, but when I try to ment…

---

## [Replace whole content of user's chat input](https://discuss.dev.twitch.com/t/replace-whole-content-of-users-chat-input/46662)

<div class="topic-metadata">

**Author:** [@CaptSiro](https://discuss.dev.twitch.com/u/CaptSiro)\
**Replies:** 0\
**Last updated:** [July 31, 2023, 5:25pm UTC](https://discuss.dev.twitch.com/t/replace-whole-content-of-users-chat-input/46662 "2023-07-31T17:25:08Z")

</div>

I’m developing a small Chrome extension and I need to read (could be done with only: chatInput.textContent) and change the value of the user’s chat input. When I get the current slate-leaf and change its textContent it d…

---

## [High network load](https://discuss.dev.twitch.com/t/high-network-load/46483)

<div class="topic-metadata">

**Author:** [@skomich](https://discuss.dev.twitch.com/u/skomich)\
**Replies:** 11\
**Last updated:** [July 17, 2023, 2:06am UTC](https://discuss.dev.twitch.com/t/high-network-load/46483 "2023-07-17T02:06:15Z")

</div>

Do I understand correctly that for each new channel in my bot I have to create a new connection and send pass+nick+join there? It turns out that if I have 500 users, then I will have to create 500 separate connections to…

---

## [Add text and emotes to chat textbox](https://discuss.dev.twitch.com/t/add-text-and-emotes-to-chat-textbox/46302)

<div class="topic-metadata">

**Author:** [@LittleTherence](https://discuss.dev.twitch.com/u/LittleTherence)\
**Replies:** 2\
**Last updated:** [June 30, 2023, 12:38pm UTC](https://discuss.dev.twitch.com/t/add-text-and-emotes-to-chat-textbox/46302 "2023-06-30T12:38:28Z")

</div>

Hi, I’m trying to create a content script that allows me to add predefined content quickly to chat textbox. Here is my code for the moment: img.addEventListener('click', function() { const textBox = document.quer…

---

## [Code not connecting to twitch chat](https://discuss.dev.twitch.com/t/code-not-connecting-to-twitch-chat/46109)

<div class="topic-metadata">

**Author:** [@Agent\_kittycat](https://discuss.dev.twitch.com/u/Agent_kittycat)\
**Replies:** 0\
**Last updated:** [June 15, 2023, 5:19pm UTC](https://discuss.dev.twitch.com/t/code-not-connecting-to-twitch-chat/46109 "2023-06-15T17:19:19Z")

</div>

hi, im making a chat reader on twitch and am trying to test it, but my connection test isn’t coming trough and my chat messages on twitch’s end aren’t being sent towards my program, any1 know how to fix this? also im t…

---

## [City for hosting](https://discuss.dev.twitch.com/t/city-for-hosting/46199)

<div class="topic-metadata">

**Author:** [@fadelost](https://discuss.dev.twitch.com/u/fadelost)\
**Replies:** 1\
**Last updated:** [June 21, 2023, 3:06pm UTC](https://discuss.dev.twitch.com/t/city-for-hosting/46199 "2023-06-21T15:06:26Z")

</div>

Hello, can you please tell me which city in the US to place your bot in to minimize the delay to the Twitch IRC-server. I want the bot to receive and respond to users’ messages as quickly as possible. Right now I bought …

---

## [I am using tmi.js, my client.say, is not working](https://discuss.dev.twitch.com/t/i-am-using-tmi-js-my-client-say-is-not-working/46058)

<div class="topic-metadata">

**Author:** [@YugenFr](https://discuss.dev.twitch.com/u/YugenFr)\
**Replies:** 2\
**Last updated:** [June 14, 2023, 5:05pm UTC](https://discuss.dev.twitch.com/t/i-am-using-tmi-js-my-client-say-is-not-working/46058 "2023-06-14T17:05:23Z")

</div>

const tmi = require('tmi.js'); // Define configuration options const opts = { identity: { username: 'yugenfr', password: 'redacted' }, channels: \[ 'yugenfr' \] }; // Create a client with our options …

---

## [Verified Account Only Chat](https://discuss.dev.twitch.com/t/verified-account-only-chat/46059)

<div class="topic-metadata">

**Author:** [@kingworth](https://discuss.dev.twitch.com/u/kingworth)\
**Replies:** 4\
**Last updated:** [June 14, 2023, 5:22pm UTC](https://discuss.dev.twitch.com/t/verified-account-only-chat/46059 "2023-06-14T17:22:22Z")

</div>

Hi, I hope I’m posting this question in the right discussion. I was looking through Twitch’s Dev Doc and I couldn’t find anything on Verified Account Only chat. Is this a tag that I can find when doing an API call or a…

---

## [Problem Integration Chat on website (Wix)](https://discuss.dev.twitch.com/t/problem-integration-chat-on-website-wix/45983)

<div class="topic-metadata">

**Author:** [@theundergroundlair23](https://discuss.dev.twitch.com/u/theundergroundlair23)\
**Replies:** 10\
**Last updated:** [June 6, 2023, 3:11pm UTC](https://discuss.dev.twitch.com/t/problem-integration-chat-on-website-wix/45983 "2023-06-06T15:11:26Z")

</div>

Hi! I can’t integrate the chat on my website Here is the code I am using \<iframe id="twitch-chat-embed" src="https://www.twitch.tv/embed/theundergroundlair23/chat?parent=www-theundergroundlair-fr&parent=www.th…

---

## [ChatGPT bot remote server time out](https://discuss.dev.twitch.com/t/chatgpt-bot-remote-server-time-out/45861)

<div class="topic-metadata">

**Author:** [@drmrboss](https://discuss.dev.twitch.com/u/drmrboss)\
**Replies:** 1\
**Last updated:** [May 24, 2023, 10:14am UTC](https://discuss.dev.twitch.com/t/chatgpt-bot-remote-server-time-out/45861 "2023-05-24T10:14:46Z")

</div>

Hi guys, I recently make nightbot and streamelements bot that connect with chat gpt open ai API via Node.js. I have exhausting problem of time out by both bots ( they use same python script, I authorize one while disco…

---

## [TOS questions about storing chat logs from livestreams](https://discuss.dev.twitch.com/t/tos-questions-about-storing-chat-logs-from-livestreams/45816)

<div class="topic-metadata">

**Author:** [@Dode](https://discuss.dev.twitch.com/u/Dode)\
**Replies:** 2\
**Last updated:** [May 18, 2023, 9:10am UTC](https://discuss.dev.twitch.com/t/tos-questions-about-storing-chat-logs-from-livestreams/45816 "2023-05-18T09:10:43Z")

</div>

Hello, I am developing an application that involves storing the chat logs from livestreams for only 30 days. Only streamers who register with my application will have their livestream chats logged. I read through the T…

---

## [Get Pinned Messagae via IRC?](https://discuss.dev.twitch.com/t/get-pinned-messagae-via-irc/45808)

<div class="topic-metadata">

**Author:** [@secretsauce002](https://discuss.dev.twitch.com/u/secretsauce002)\
**Replies:** 6\
**Last updated:** [May 17, 2023, 10:17pm UTC](https://discuss.dev.twitch.com/t/get-pinned-messagae-via-irc/45808 "2023-05-17T22:17:17Z")

</div>

Hi Twitch Communities, I am new to Twitch API and I wonder if there’s a way to get pinned messages via the chat IRC? It seems like if a message is pinned before I join the channel, there is no way for me to retrieve tha…

---

## [Chat Highlight in PRIVMSG Tags](https://discuss.dev.twitch.com/t/chat-highlight-in-privmsg-tags/45604)

<div class="topic-metadata">

**Author:** [@rashdanml](https://discuss.dev.twitch.com/u/rashdanml)\
**Replies:** 2\
**Last updated:** [May 11, 2023, 2:57am UTC](https://discuss.dev.twitch.com/t/chat-highlight-in-privmsg-tags/45604 "2023-05-11T02:57:29Z")

</div>

This is more of a suggestion than a question, though I suppose there could be a question too. I also posted this on UserVoice: Chat Highlight Settings in PRIVMSG Tags – Twitch UserVoice Is it technically possible to exp…

---

## [Chat bot needs to reject some incoming replies](https://discuss.dev.twitch.com/t/chat-bot-needs-to-reject-some-incoming-replies/45446)

<div class="topic-metadata">

**Author:** [@gbcstott1](https://discuss.dev.twitch.com/u/gbcstott1)\
**Replies:** 8\
**Last updated:** [April 30, 2023, 9:47pm UTC](https://discuss.dev.twitch.com/t/chat-bot-needs-to-reject-some-incoming-replies/45446 "2023-04-30T21:47:22Z")

</div>

I have a chat bot that sends questions to a chat room that has a number of user. Lets say 20 users. I want to send a question to the members to the room and to take the first 10 replies and do an analysis on those repli…

---

## [Bot cant TimeOut and Ban users](https://discuss.dev.twitch.com/t/bot-cant-timeout-and-ban-users/45468)

<div class="topic-metadata">

**Author:** [@bochebarovivan](https://discuss.dev.twitch.com/u/bochebarovivan)\
**Replies:** 1\
**Last updated:** [April 30, 2023, 4:46pm UTC](https://discuss.dev.twitch.com/t/bot-cant-timeout-and-ban-users/45468 "2023-04-30T16:46:30Z")

</div>

Hi! About half a year ago, the bot normally timed banned the user through the TimeoutUser method, but I noticed that recently it cannot issue punishments for some reason. I have already tried a lot, I don’t want to do …

---

## [I want to get a chat color from a specific user](https://discuss.dev.twitch.com/t/i-want-to-get-a-chat-color-from-a-specific-user/45366)

<div class="topic-metadata">

**Author:** [@seia1030](https://discuss.dev.twitch.com/u/seia1030)\
**Replies:** 3\
**Last updated:** [April 26, 2023, 1:23am UTC](https://discuss.dev.twitch.com/t/i-want-to-get-a-chat-color-from-a-specific-user/45366 "2023-04-26T01:23:23Z")

</div>

Is there an api endpoint that lets you know what color users use in their chat?

[Previous page](https://discuss.dev.twitch.com/c/chat/3.md?page=2)

[Next page](https://discuss.dev.twitch.com/c/chat/3.md?page=4)
