Browse Source

Added thumbs up voice controls

reviewable/pr209/r1
Samuel Attard 6 years ago
parent
commit
808685bc51
  1. 10
      src/inject/GPMInject/interface/voiceControls/index.js

10
src/inject/GPMInject/interface/voiceControls/index.js

@ -58,6 +58,16 @@ window.wait(() => {
})
);
speech.registerHandler(['this song is great', 'this song rules', 'this song is epic',
'this song is awesome', 'this song rocks',
'the song is great', 'the song rules', 'the song is epic',
'the song is awesome', 'the song rocks'], () =>
new Promise((resolve) => {
GPM.rating.setRating(5);
resolve();
})
);
// Shuffle Handlers
speech.registerHandler(['mixitup', 'mix it up',
'shuffle', 'shake', 'random'], () =>

Loading…
Cancel
Save