Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

[actions] getRoomScore

Sunciits edited this page Jun 22, 2016 · 2 revisions

getRoomScore()

Get the votes for the current playing song.


Returns

Object containing amount of woots, mehs, curates and listeners.


Example

bot.getRoomScore();
/*
{
    positive: 9, // Woots
    listeners: 15, // Amount of listeners
    grabs: 1, // Grabs
    negative: 2 // Mehs
    skipped: 2 // Songs skipped
}
*/
Clone this wiki locally