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

Commands problem because #jtv chat is disabled #219

Closed
thormug opened this issue Apr 13, 2017 · 3 comments
Closed

Commands problem because #jtv chat is disabled #219

thormug opened this issue Apr 13, 2017 · 3 comments
Milestone

Comments

@thormug
Copy link

thormug commented Apr 13, 2017

Using tmi.js, some chat commands are sent using #jtv channel (whispers and changing username color)
This channel seems to be desactivated now by Twitch.

Therefore, these commands doest not work for now.

In the file commands.js, i changed every occurence of "#jtv" by another channel i am working for and evreything is fine.

@AlcaDesign
Copy link
Member

AlcaDesign commented Apr 13, 2017

Can confirm that that is happening.

Receiving: ✅

client.on('message', console.log);

#alca { badges: { turbo: '1' },
  color: '#187DE3',
  'display-name': 'Alca',
  emotes: null,
  'message-id': '5110',
  'thread-id': '7676884_70310077',
  turbo: true,
  'user-id': '7676884',
  'user-type': null,
  'emotes-raw': null,
  'badges-raw': 'turbo/1',
  username: 'alca',
  'message-type': 'whisper' } Hi. false

Sending: ❎

client.whisper('alca', 'Hello world!');

#alca { 'message-type': 'whisper',
  'message-id': null,
  'thread-id': null,
  username: 'alcabot',
  badges: null,
  color: '#B22222',
  'display-name': 'AlcaBot',
  'emote-sets': '0',
  'user-id': '70310077',
  'user-type': null,
  'badges-raw': null } Hello world! true
Promise { [ 'alca', 'Hello world!' ] }

And nothing.

@Schmoopiie
Copy link
Member

I will fix this over the weekend. If you need a temp fix, use the raw command:

client.raw("PRIVMSG #schmoopiie :/w Schmoopiie my message");

However, this will not work with Promise.

@Schmoopiie Schmoopiie added this to the 1.2.0 milestone Apr 15, 2017
@Schmoopiie
Copy link
Member

Whispers should be working again if you aren't using the latest version of tmi.js, #jtv has been enabled.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants