chillroom / jacr-bot

The bot for Just A Chill Room
GNU General Public License v3.0
0 stars 0 forks source link

Add user id to the !whois command #8

Closed qaisjp closed 8 years ago

qaisjp commented 8 years ago

This small bookmarklet can be used instead:

javascript:var person=prompt("Enter username to get ID");$.getJSON("https://api.dubtrack.fm/user/"+person,(data) => { return prompt("ID for "+person+ " looks like",data.data._id)})

This will only work when you're on the Dubtrack website due to "origin security"