Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send whisper #31

Open
mtilda opened this issue May 15, 2021 · 3 comments
Open

Unable to send whisper #31

mtilda opened this issue May 15, 2021 · 3 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@mtilda
Copy link
Owner

mtilda commented May 15, 2021

Looks like I am unable to send whispers due to a permission issue. I am reading online that other people have experienced similar problems when their bot is not "verified".

Read this: https://discuss.dev.twitch.tv/t/your-setting-prevent-you-from-sending-this-whisper/26849

I submitted a request for verification, but I have a feeling it will take multiple days to resolve this issue (it seems like this bot's account might not meet all the requirements for verification).

Invoke this function to attempt a whisper (I recommend invoking this after Connect() and JoinChannel(), inside Start()):

// Make the bot send a whisper to a user
func (bot *Bot) Whisper(message string, recipient string) error {
	_, err := bot.connection.Write([]byte("PRIVMSG #" + bot.Channel + " :/w " + recipient + " " + message + "\r\n"))
	if nil != err {
		return err
	}

	return nil
}

This is the response I get from the server:

:tmi.twitch.tv NOTICE #<CHANNEL NAME> :Your settings prevent you from sending this whisper.
@mtilda mtilda added bug Something isn't working help wanted Extra attention is needed labels May 15, 2021
@mtilda
Copy link
Owner Author

mtilda commented May 15, 2021

So I don't sink too much more time into this problem, I am going to put sending whispers (#6) on the backburner until I hear back.

@nicholascassidy
Copy link

Good catch! Yep - they changed their policy. As long as you can talk through your code, that'll be enough.

@mtilda
Copy link
Owner Author

mtilda commented May 16, 2021

Great! Thank you again :)

@mtilda mtilda added wontfix This will not be worked on and removed help wanted Extra attention is needed labels May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants