langel / botb_irc_bot

battle of the bits instant relay chat magic
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

hostist command #30

Open marysiamzawka opened 8 years ago

marysiamzawka commented 8 years ago

basically a command that would pull a list of users being able to host ohbs of specified formats i guess it would be bit more handy than asking every user one by one

example:

!hostist pixel bot looks through list of botb users active within last week eliminates everyone not being able to afford an ohb then eliminates people not having the pixel badge as a result it returns list of pixel badge owners active within last week who can afford hosting an ohb

could use botb or jangler's api to look up badge owners

langel commented 8 years ago

i'd have to create a new table to track this specifically for easy loading but it can be done!

this could also be tied into our planned botbr identify #11 so the bot can say their attributed irc nick instead of their botbr name

jangler commented 8 years ago

I remember PlugBot used to do this ages ago :) but not with perfect accuracy. My data and scraping code are way out of date, though, and a BotB API call would be a cleaner way to do this anyway.