3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 12:12:35 +01:00
dbot/modules/imgur
Douglas Gardner 5fd2a3923f Add tracking for a certain hash
This is a fairly simple hack to record any imgur URLs discovered via the
random image facility that match a certain MD5 hash.

A known bug with this commit is that it may crash the bot the first time
the bot tries to add to the database, as the category is undefined. This
can be easily worked around by ensuring that the category is
prepopulated with at least one image before letting the bot add
automatically.

An issue should probably be opened to merge this code into something
reading hashes from a configuration file: it's pretty hardcoded at the
moment.
2013-05-17 17:04:53 +00:00
..
config.json Add hidden counter to imgur 2013-04-19 00:02:39 +00:00
imgur.js Add tracking for a certain hash 2013-05-17 17:04:53 +00:00
pages.js Don't shit out if there's no highscore quote category 2013-04-19 17:06:19 +00:00
strings.json Added Dutch translations. 2013-04-20 00:05:46 +02:00