question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

info: [#jtv] Executing command: /w mig4ng Welcome to the stream! Hope you enjoy ^-^
info: [#jtv] Unrecognized command: /w
warn: You must be connected to a group server to send or receive whispers.

This is the error I get when I try to whisper, and my bot is connected to the channel since it can use the say Command, any idea why?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
AlcaDesigncommented, Mar 12, 2016

You must be connected to a group server to send or receive whispers.

You have to create a separate connection to the “group” cluster (separate from the “main” cluster) in order to send whispers. Use the whisper method on the “group” cluster.

const tmi = require('tmi.js');

var channel = '',
    identity = {
            username: '',
            password: ''
        },
    greeting = 'Welcome to the stream! Hope you enjoy ^-^',

    client = new tmi.client({
            options: { debug: true },
            identity
        }),
    groupClient = new tmi.client({
            options: { debug: true },
            identity,
            connection: { cluster: 'group' }
        });

client.on('join', (channel, username) => {
        if(username !== client.getUsername()) {
            groupClient.whisper(username, greeting);
        }
    });

Promise.all([client.connect(), groupClient.connect()])
    .then(() => client.join(channel));
0reactions
AlcaDesigncommented, Apr 9, 2017

@ccioloca There are no clusters – they were removed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why are some people incapable of whispering? - Quora
Yes. I can't be the only one. I do not think of it as a disorder. Human being differ from one another, but...
Read more >
Can You Whisper? Some People Can't | 94.9 The River
It turns out, there are people who are physically unable to whisper, usually because they didn't learn how to do it as a...
Read more >
Anyone else unable to whisper? : r/aspergers - Reddit
Was wondering if it's just me. Like literally, I cannot whisper. If I try to I will simply make no sound for certain...
Read more >
Whisper down or not working? Current outages and problems
Real-time outages and problems for Whisper. Can't send messages? No server connection? Here you see what is going on.
Read more >
Cant whisper back - General Discussion - Blizzard Forums
I had a good group and the tank whispered to me after, ... unless your talking about Bnet whisper, in which case you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found