3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00
Go to file
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
jsbot@11cbb75b50 bump jsbot 2013-04-14 15:09:45 +00:00
modules Add tracking for a certain hash 2013-05-17 17:04:53 +00:00
public Add basic hashing functionality to imgur 2013-05-17 13:50:35 +00:00
views Add basic hashing functionality to imgur 2013-05-17 13:50:35 +00:00
.gitignore update gitignore 2013-04-18 08:37:30 +00:00
.gitmodules readd statos [Close #382] 2013-04-19 11:44:33 +00:00
config.json.sample Add int handling for setconfig, add debugLevel [#307] 2013-04-30 16:44:39 +00:00
install.sh making sure node.js and npm are installed before running install.sh 2013-03-19 01:16:26 -04:00
LICENCE GPL 2013-04-22 19:36:13 +00:00
README.md include underscore in dependencies 2013-01-13 17:48:20 +01:00
run.js Add int handling for setconfig, add debugLevel [#307] 2013-04-30 16:44:39 +00:00
snippets.js Remove object prototype extensions in master [#135] 2013-02-12 18:34:36 +00:00
strings.json add web api function for getUrl instead of string in base, use externalAddress optional config key to define external behaviours [#264] 2013-04-12 22:53:45 +00:00
VERSION start 0.4 dev 2013-01-28 01:50:18 +00:00

Depressionbot IRC Bot

Introduction

Depressionbot is an IRC bot which aims to be the fanciest IRC bot around - On the general standard of software fanciness, dbot is statistically rated as being 82% the same as bathing in fine, fine grape juice.

Please note that this documentation is not complete and is a work in progress, given I started it rather a long time after I began development of the project. Please dont judge me too harshly for this as I am, in fact, mildly allergic to writing documentation.

Requirements:

  • Node JS
  • JSBot, a Javascript library which handles the IRC protocol
  • Underscore JS library
  • Various modules have their own requirements also.

External Modules

JSBot and externally developed modules can be imported by running the following commands in the cloned repository:

git submodule init
git submodule update