chillroom/jacr-bot

Add user id to the !whois command

Closed this issue · 1 comments

Add user id to the !whois command

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"