mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 20:22:39 +01:00
Merge branch 'master' of github.com:reality/depressionbot
This commit is contained in:
commit
f882d330b7
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user