# Unable to have my bot send whispers

**URL:** <https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120>\
**Category:** Chat and IRC\
**Created:** [May 9, 2019, 11:28am UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120 "2019-05-09T11:28:25Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![CubieDev](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@CubieDev](https://discuss.dev.twitch.com/u/CubieDev)\
**Post date:** [May 9, 2019, 11:28am UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/1 "2019-05-09T11:28:25Z")

</div>

As of today, my bot is unable to send whispers.  
Yesterday I experienced no issues. My bot replied to my commands properly.  
And now, out of nowhere, I am getting this NOTICE after attempting to whisper:

```
full_message: @msg-id=whisper_restricted;target-user-id=94714716 :tmi.twitch.tv NOTICE #cubiedev :Your settings prevent you from sending this whisper.
        tags: {'msg-id': 'whisper_restricted', 'target-user-id': '94714716'}
        command: tmi.twitch.tv NOTICE #cubiedev
                user: None
                type: NOTICE
                params: #cubiedev
                channel: cubiedev
        message: Your settings prevent you from sending this whisper.

```

Some notes:

- All of the whispers I attempt to send are replies to commands that are also in whispers. No unsolicited whispers. All whispers are reactions to whispers coming in.
- Not on my account, nor my bot account, is the setting “Prevent whispers from strangers” enabled.
- Not on my account, nor my bot account did I change any settings.
- I am connected via IRC, and send my whispers in the form of `PRIVMSG #cubiedev :/w cubiedev Test!\r\n`.
- Never before have I experienced issues with whispering.
- Sending regular chat messages works fine.
- Considering the bot worked fine yesterday, and stopped working today, I doubt I hit any rate limits.
- I tried this while being friends with the bot, and while not being friends.
- I tried this while following the bot, and while not following the bot.

I really need the ability to send whispers for this project.

Does anyone have any idea what the issue might be, or how I might avoid it?

Here’s a bit of code I threw together to showcase the issue: [https://github.com/CubieDev/TwitchSendMessage](https://github.com/CubieDev/TwitchSendMessage)

---

<div class="post-metadata">

**Author:** ![pajlada](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/pajlada/32/901_2.png) [@pajlada](https://discuss.dev.twitch.com/u/pajlada)\
**Post date:** [May 9, 2019, 1:09pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/2 "2019-05-09T13:09:07Z")

</div>

I am able to reproduce your error when using my own account (pajlada), but when using my bot account (pajbot) it sends the whisper properly.  
My bot account is a verified bot account.

This issue is currently affecting the Chatterino chat client, making all users of it unable to send whispers.

---

<div class="post-metadata">

**Author:** ![CubieDev](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@CubieDev](https://discuss.dev.twitch.com/u/CubieDev)\
**Post date:** [May 9, 2019, 1:12pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/3 "2019-05-09T13:12:17Z")

</div>

My bot is not a verified bot account.  
I’ve seen a few people talk about how they got a link whispered to them from a bot over the last few weeks, leading me to believe that Twitch may have banned all whispering from bot accounts that are not verified.

I will look into the process of verifying my bot.

If you have any idea where I should do this, please let me know.

---

<div class="post-metadata">

**Author:** ![pajlada](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/pajlada/32/901_2.png) [@pajlada](https://discuss.dev.twitch.com/u/pajlada)\
**Post date:** [May 9, 2019, 1:14pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/4 "2019-05-09T13:14:45Z")

</div>

[https://dev.twitch.tv/limit-increase/](https://dev.twitch.tv/limit-increase/) is the page where you would submit a bot verification request. In case that link ever changes, the process should be described here: [https://dev.twitch.tv/docs/irc/guide/#known-and-verified-bots](https://dev.twitch.tv/docs/irc/guide/#known-and-verified-bots)

---

<div class="post-metadata">

**Author:** ![tduva](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/tduva/32/392_2.png) [@tduva](https://discuss.dev.twitch.com/u/tduva)\
**Post date:** [May 9, 2019, 1:36pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/5 "2019-05-09T13:36:13Z")

</div>

Unfortunately becoming a verified bot doesn’t really sound like a solution for normal users trying to whisper using third-party clients.

---

<div class="post-metadata">

**Author:** ![maximlambda](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@maximlambda](https://discuss.dev.twitch.com/u/maximlambda)\
**Post date:** [May 9, 2019, 2:18pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/6 "2019-05-09T14:18:31Z")

</div>

Same

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 9, 2019, 2:18pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/7 "2019-05-09T14:18:57Z")

</div>

This issue has been noted and is also affecting other clients (not specific to bots)

It has been reported higher up and a fix is awaiting

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 9, 2019, 2:55pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/8 "2019-05-09T14:55:59Z")

</div>

It is reported that this might now be resolved.

---

<div class="post-metadata">

**Author:** ![CubieDev](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@CubieDev](https://discuss.dev.twitch.com/u/CubieDev)\
**Post date:** [May 9, 2019, 2:59pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/9 "2019-05-09T14:59:31Z")

</div>

I’m not sure if the fix has already gone live everywhere, but I appear to still be having this issue. Output from the code linked to in my original post:

> /w CubieDev Hello!  
> full\_message: @msg-id=whisper\_restricted;target-user-id=94714716 :tmi.twitch.tv NOTICE #cubiedev :Your settings prevent you from sending this whisper.  
> tags: {‘msg-id’: ‘whisper\_restricted’, ‘target-user-id’: ‘94714716’}  
> command: [tmi.twitch.tv](http://tmi.twitch.tv) NOTICE #cubiedev  
> user: None  
> type: NOTICE  
> params: #cubiedev  
> channel: cubiedev  
> message: Your settings prevent you from sending this whisper.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 9, 2019, 4:35pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/10 "2019-05-09T16:35:32Z")

</div>

To update:

The issue is on going and activly being worked on

---

<div class="post-metadata">

**Author:** ![pajlada](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/pajlada/32/901_2.png) [@pajlada](https://discuss.dev.twitch.com/u/pajlada)\
**Post date:** [May 9, 2019, 4:41pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/11 "2019-05-09T16:41:39Z")

</div>

Works for me now

---

<div class="post-metadata">

**Author:** ![CubieDev](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@CubieDev](https://discuss.dev.twitch.com/u/CubieDev)\
**Post date:** [May 9, 2019, 4:45pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/12 "2019-05-09T16:45:05Z")

</div>

It works for me too, now.

Thanks to Barry for being the communication between us and the people working on this. I would’ve been quite stressed if it wasn’t for your messages.

---

<div class="post-metadata">

**Author:** ![ConcreteEntree](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/concreteentree/32/6343_2.png) [@ConcreteEntree](https://discuss.dev.twitch.com/u/ConcreteEntree)\
**Post date:** [May 9, 2019, 4:47pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/13 "2019-05-09T16:47:16Z")

</div>

Apologies for the issues- was going to post here, but apparently I’m too late.

Thanks @pajlada and @BarryCarlyon! 🙂

---

<div class="post-metadata">

**Author:** ![frozenfire92](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/frozenfire92/32/6397_2.png) [@frozenfire92](https://discuss.dev.twitch.com/u/frozenfire92)\
**Post date:** [May 19, 2019, 1:45pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/14 "2019-05-19T13:45:04Z")

</div>

Just following up that this doesn’t appear fixed as I’m running into this problem in a new chatbot today cc: @BarryCarlyon @ConcreteEntree

Coming here from [https://github.com/tmijs/tmi.js/issues/333](https://github.com/tmijs/tmi.js/issues/333)

`@msg-id=whisper_restricted;target-user-id=<redacted> :tmi.twitch.tv NOTICE #tmijs :Your settings prevent you from sending this whisper.`

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [June 18, 2019, 1:45pm UTC](https://discuss.dev.twitch.com/t/unable-to-have-my-bot-send-whispers/21120/15 "2019-06-18T13:45:06Z")

</div>

Closed on June 18, 2019, 1:45pm UTC

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