butterscotchstallion / guacbot

Asynchronous IRC bot written in Javascript
4 stars 3 forks source link

weblog plugin #90

Open butterscotchstallion opened 10 years ago

butterscotchstallion commented 10 years ago

Maintains information about recorded messages

For example:

This information would later be used to implement a log of links, video, and images recorded in the channel

peed commented 10 years ago

We need to determine if we want a simple table for links, where we have booleans for if its an image url, video url, twitter url, etc. Or separate tables for each type, I think the former is better.

Shouldn't have to store the title, but you could if you want. You can grab the title actively, but it depends on what youre using the data for, i.e. website blog type thing.

id | url | title | author | date | img[bln] | video[bln] | other[bln]

Could use an enum instead of the booleans to replace the last 3 fields.