mutewinter / Showbot

🤖 An IRC Bot and Website for 5by5.tv written with the Cinch and Sinatra frameworks
MIT License
90 stars 31 forks source link

!addfaithlist command #19

Closed MrAwax closed 12 years ago

MrAwax commented 12 years ago

There's a lot of movie that Faith has only show part of. Merlin and Dan are trying hard to get her catch up with actually seeing those movies.

So, let's help them build "The List Of Movies Faith Has To Watch".

Components

This permanently stores the following information:

An additional table could associate meta datas to a movie

Add a "check" counter and don't report THE movie has checked until Faith has seen it 27 times.

Web page

This page displays the content of the data storage in a table, ordered by request count descending.

Optional

From the meta data, it could enrich the table with the movie poster, links to IMDb and RT and their ratings.

IRC Command

Syntax: !addfaithlist movie name

When triggered, it looks up in the database for an already existing entry based on the movie name (might need to implement "fuzzy matching", could be limited to case insensitive at first).

If an entry does not exists, it creates the entry and set the request count to 1, and reply "Movie ### added to the list"

If an entry does exists and Faith hasn't seen it, increment the count and reply "# numbers of people wants Faith to watch movie ###"

If Faith has seen it, reply : "Faith has already seen #movie name# on #date she saw#".

We would also need command or admin pages to allow Faith to tell if she had seen a particular movie or edit meta data.

kimroen commented 12 years ago

Hi! I think this is a bit of a big feature for such a small win - especially now that this is not really all that relevant - but please do write it in there if you feel like doing so.