anjanms / DubAPI

A Node.js API for creating queup.net bots.
MIT License
20 stars 10 forks source link

rank/unrank #9

Closed BenWildeman closed 8 years ago

BenWildeman commented 8 years ago

is it possible to add rank and unrank methods to the API? more bothered about the unranking more than anything. use case is if a VIP becomes toxic and you need to get them out the room, need to derank them before you're able to ban them

Purnceks commented 8 years ago

+1

avatarkava commented 8 years ago

Aren't those the moderateSetRole(uid, role, callback) and moderateUnsetRole(uid, role, callback) methods?

BenWildeman commented 8 years ago

wait, where are those, I don't see them on the wiki :open_mouth:

avatarkava commented 8 years ago

Wiki/docs are a bit out of date - check out https://github.com/anjanms/DubAPI/blob/master/index.js and look at the prototyped functions...

BenWildeman commented 8 years ago

ah alright cheers. TIL, don't trust wikis and check the source code instead