3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-26 12:42:51 +01:00

Merge branch 'master' of github.com:reality/depressionbot

This commit is contained in:
Dan 2013-04-09 16:45:25 +01:00
commit f882d330b7

View File

@ -7,7 +7,9 @@ var _ = require('underscore')._;
var flashy = function(dbot) { var flashy = function(dbot) {
this.colourMap = { this.colourMap = {
'red': 'FF0000' 'red': 'FF0000',
'green': '00FF00',
'blue': '0000FF'
}; };
this.commands = { this.commands = {
@ -27,7 +29,7 @@ var flashy = function(dbot) {
} }
}; };
this.commands['~flashy'].regex = [/^~qadd ([\d\w-]+[\d\w\s-]*)[ ]?=[ ]?(.+)$/, 3]; this.commands['~flashy'].regex = [/^~flashy ([\d\w-]+[\d\w\s-]*)[ ]?=[ ]?(.+)$/, 3];
}; };
exports.fetch = function(dbot) { exports.fetch = function(dbot) {