mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
input, not params (flashy)
This commit is contained in:
parent
46028d6019
commit
a129083826
@ -14,8 +14,8 @@ var flashy = function(dbot) {
|
|||||||
|
|
||||||
this.commands = {
|
this.commands = {
|
||||||
'~flashy': function(event) {
|
'~flashy': function(event) {
|
||||||
var colour = event.params[1];
|
var colour = event.input[1];
|
||||||
var text = event.params[2];
|
var text = event.input[2];
|
||||||
|
|
||||||
if(_.has(this.colourMap, colour)) {
|
if(_.has(this.colourMap, colour)) {
|
||||||
dbot.t('url', {
|
dbot.t('url', {
|
||||||
|
Loading…
Reference in New Issue
Block a user